mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-23 04:14:28 +00:00
Fix height for the source sidebar in mobile mode
This commit is contained in:
parent
66c83ffca1
commit
27ff258826
@ -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,
|
/* 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. */
|
so don't bump down the main content or the sidebar. */
|
||||||
.source main,
|
.source main,
|
||||||
.source .sidebar {
|
.rustdoc.source .sidebar {
|
||||||
top: 0;
|
top: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
height: 100vh;
|
||||||
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar.shown,
|
.sidebar.shown,
|
||||||
|
Loading…
Reference in New Issue
Block a user