Skip to content

Commit 2297d25

Browse files
authored
Fix: Modify the CSS so that the logo of the generated documentation is adaptive (#17172)
- Add a fixed max-width of the span - Add a 100% for the img in the span Fixes: #17171
2 parents fe08449 + 25d1b63 commit 2297d25

File tree

1 file changed

+8
-0
lines changed
  • scaladoc/resources/dotty_res/styles/theme/layout

1 file changed

+8
-0
lines changed

Diff for: scaladoc/resources/dotty_res/styles/theme/layout/header.css

+8
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@
6363
align-items: center;
6464
}
6565

66+
.logo-container .project-logo {
67+
max-width: 40px;
68+
}
69+
70+
.logo-container .project-logo img {
71+
max-width: 100%;
72+
}
73+
6674
#mobile-menu-toggle {
6775
display: none;
6876
}

0 commit comments

Comments
 (0)