Make scrollbar in the sidebar always visible for visual consistency

This commit is contained in:
Guillaume Gomez 2021-11-17 14:45:17 +01:00
parent 41301c3b23
commit bf10c88fbd
3 changed files with 4 additions and 4 deletions

View file

@ -303,7 +303,7 @@ nav.sub {
left: 0;
top: 0;
bottom: 0;
overflow: auto;
overflow-y: scroll;
}
/* Improve the scrollbar display on firefox */

View file

@ -70,11 +70,11 @@ pre, .rustdoc.source .example-wrap {
/* Improve the scrollbar display on firefox */
* {
scrollbar-color: #5c6773 transparent;
scrollbar-color: #5c6773 #24292f;
}
.sidebar {
scrollbar-color: #5c6773 transparent;
scrollbar-color: #5c6773 #24292f;
}
/* Improve the scrollbar display on webkit-based browsers */

View file

@ -44,7 +44,7 @@ pre, .rustdoc.source .example-wrap {
scrollbar-color: rgb(64, 65, 67) #717171;
}
.sidebar {
scrollbar-color: rgba(32,34,37,.6) transparent;
scrollbar-color: rgba(32,34,37,.6) #5a5a5a;
}
/* Improve the scrollbar display on webkit-based browsers */