Rollup merge of #45212 - GuillaumeGomez:sidebar-fixed, r=QuietMisdreavus

Limit the sidebar height

The sidebar is now fixed, which means its scrolling is independent of the main page now.

r? @rust-lang/docs
This commit is contained in:
kennytm 2017-10-26 03:02:49 +08:00 committed by GitHub
commit fc48893845

View file

@ -171,10 +171,11 @@ nav.sub {
.sidebar {
width: 200px;
position: absolute;
position: fixed;
left: 0;
top: 0;
min-height: 100%;
height: 100vh;
overflow: auto;
}
.sidebar .current {