Skip to content

Commit 6a547d7

Browse files
authored
Change banner style according to width (#12810)
1 parent 24e0472 commit 6a547d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/src/pages/index.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ div[class^='announcementBarContent'] a:hover {
3333
}
3434

3535
@media only screen and (max-width: 768px) {
36-
.announcement {
36+
div[class^='announcementBarContent'] {
3737
font-size: 18px;
3838
}
3939
}
4040

4141
@media only screen and (max-width: 500px) {
42-
.announcement {
42+
div[class^='announcementBarContent'] {
4343
font-size: 15px;
4444
line-height: 22px;
4545
padding: 6px 30px;

0 commit comments

Comments
 (0)