Skip to content

Commit 25d1b63

Browse files
committed
Change the CSS the logo for the generated documentation is adaptive
- Add a fixed width of the span - Add a 100% for the img in the span
1 parent 5c2efc5 commit 25d1b63

File tree

1 file changed

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

1 file changed

+8
-0
lines changed

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)