Skip to content

Commit a9710de

Browse files
authored
Rollup merge of #91225 - GuillaumeGomez:source-page-scrollbar, r=jsha
Fix invalid scrollbar display on source code page Fixes bug introduced in #90983: ![Screenshot from 2021-11-25 17-01-08](https://user-images.githubusercontent.com/3050060/143473753-c2e7c43c-ce3f-474d-9d2a-922e63189c51.png) ![Screenshot from 2021-11-25 17-07-08](https://user-images.githubusercontent.com/3050060/143473757-eecaaf2b-f4f0-49e0-a159-ab485e3f7122.png) To fix it, I simply unset the `overflow-y` on the source code page so it's not displayed anymore. r? ``@jsha``
2 parents 13c6066 + c981d40 commit a9710de

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)