Skip to content

Commit 920262a

Browse files
committed
reduce logo size if too wide on small screens
1 parent 3f7e8de commit 920262a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/labs_sphinx_theme/static/css/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ html[data-theme="dark"] {
5555
text-decoration: none;
5656
}
5757

58+
.navbar-brand img {
59+
height: 100%;
60+
max-width: 40vw;
61+
object-fit: contain;
62+
}
63+
5864
/* Remove footer icon text for small screen width and increase icons size */
5965
@media (max-width: 760px) {
6066
.footer-item li a.nav-link i {

0 commit comments

Comments
 (0)