diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-10-11 20:08:17 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-10-24 21:16:43 +0200 |
| commit | 9ce41f2544706bc3fc89f134668b607b0598e453 (patch) | |
| tree | b85195d31ec46bfebcc9bffdb67658add5ab81a4 | |
| parent | c0d40a1908723a7bbf0d2f745570162de250f188 (diff) | |
Fix the sidebar height
| -rw-r--r-- | src/librustdoc/html/static/rustdoc.css | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 27574e67bc8..c7e38607480 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -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 { |
