Fix height for the source sidebar in mobile mode

This commit is contained in:
Guillaume Gomez 2022-06-29 15:15:40 +02:00
parent 66c83ffca1
commit 27ff258826

View File

@ -1772,9 +1772,11 @@ details.rustdoc-toggle[open] > summary.hideme::after {
/* The source view uses a different design for the sidebar toggle, and doesn't have a topbar,
so don't bump down the main content or the sidebar. */
.source main,
.source .sidebar {
.rustdoc.source .sidebar {
top: 0;
padding: 0;
height: 100vh;
border: 0;
}
.sidebar.shown,