Skip to content

Commit

Permalink
Fix: Modify the CSS so that the logo of the generated documentation i…
Browse files Browse the repository at this point in the history
…s adaptive (#17172)

- Add a fixed max-width of the span
- Add a 100% for the img in the span
Fixes: #17171
  • Loading branch information
Florian3k authored Apr 12, 2023
2 parents fe08449 + 25d1b63 commit 2297d25
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scaladoc/resources/dotty_res/styles/theme/layout/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@
align-items: center;
}

.logo-container .project-logo {
max-width: 40px;
}

.logo-container .project-logo img {
max-width: 100%;
}

#mobile-menu-toggle {
display: none;
}
Expand Down

0 comments on commit 2297d25

Please sign in to comment.