Skip to content

Commit

Permalink
Fix invalid scrollbar display on source code page
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Nov 25, 2021
1 parent 23a4366 commit c981d40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,10 @@ nav.sub {
overflow-y: scroll;
}

.rustdoc.source .sidebar {
overflow-y: auto;
}

/* Improve the scrollbar display on firefox */
* {
scrollbar-width: initial;
Expand Down

0 comments on commit c981d40

Please sign in to comment.