Skip to content

Commit c981d40

Browse files
Fix invalid scrollbar display on source code page
1 parent 23a4366 commit c981d40

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/librustdoc/html/static/css/rustdoc.css

+4
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,10 @@ nav.sub {
305305
overflow-y: scroll;
306306
}
307307

308+
.rustdoc.source .sidebar {
309+
overflow-y: auto;
310+
}
311+
308312
/* Improve the scrollbar display on firefox */
309313
* {
310314
scrollbar-width: initial;

0 commit comments

Comments
 (0)