Skip to content

Commit

Permalink
reduce logo size if too wide on small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
OriolAbril committed Jul 12, 2024
1 parent 3f7e8de commit 920262a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/labs_sphinx_theme/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ html[data-theme="dark"] {
text-decoration: none;
}

.navbar-brand img {
height: 100%;
max-width: 40vw;
object-fit: contain;
}

/* Remove footer icon text for small screen width and increase icons size */
@media (max-width: 760px) {
.footer-item li a.nav-link i {
Expand Down

0 comments on commit 920262a

Please sign in to comment.