Skip to content

Commit d5b3b08

Browse files
pietroalbinijyn514
authored andcommitted
port 60ded3b to scss
1 parent 28d1e1c commit d5b3b08

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

templates/style.scss

+5-3
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,13 @@ div.rustdoc {
8686
}
8787

8888
// this is actual fix for docs.rs navigation and rustdoc sidebar
89-
position: absolute;
89+
position: fixed;
90+
top: $top-navbar-height;
91+
bottom: 0;
9092
left: 0;
9193
right: 0;
92-
top: $top-navbar-height;
93-
max-height: calc(100vh - #{$top-navbar-height});
94+
display: block;
95+
overflow-y: auto;
9496
}
9597

9698
body {

0 commit comments

Comments
 (0)