Skip to content

Commit d1ad108

Browse files
authored
Fix announcement bar wrapping on mobile (#1789)
1 parent c001269 commit d1ad108

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/stylesheets/custom.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,3 +585,12 @@ nav.md-nav--primary .md-nav__item--section>.md-nav__link {
585585
text-decoration: none; font-weight: 500; white-space: nowrap;
586586
}
587587
.md-banner .announce-item a:hover { text-decoration: underline; }
588+
589+
@media (max-width: 768px) {
590+
.md-banner {
591+
text-align: center;
592+
}
593+
.md-banner .announce-item {
594+
display: inline;
595+
}
596+
}

0 commit comments

Comments
 (0)