Skip to content

Commit 9ce41f2

Browse files
Fix the sidebar height
1 parent c0d40a1 commit 9ce41f2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/librustdoc/html/static/rustdoc.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,11 @@ nav.sub {
171171

172172
.sidebar {
173173
width: 200px;
174-
position: absolute;
174+
position: fixed;
175175
left: 0;
176176
top: 0;
177-
min-height: 100%;
177+
height: 100vh;
178+
overflow: auto;
178179
}
179180

180181
.sidebar .current {

0 commit comments

Comments
 (0)