diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-02 18:24:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-02 18:24:35 +0200 |
| commit | 1c8ef985f2d710c4367ed6efc2fc7ffb43d45026 (patch) | |
| tree | ad7caccaa219c6c7991ce93e9d4ce20f1b036e5f /src/librustdoc/html/static/rustdoc.css | |
| parent | 19d035c013f4a4d7b7691f6202c164a49266615f (diff) | |
| parent | 4aa526f8093dcb46c3b4576ae7b05b5494add48e (diff) | |
| download | rust-1c8ef985f2d710c4367ed6efc2fc7ffb43d45026.tar.gz rust-1c8ef985f2d710c4367ed6efc2fc7ffb43d45026.zip | |
Rollup merge of #64948 - GuillaumeGomez:improve-sidebar-styling, r=Mark-Simulacrum
Improve sidebar styling to make its integration easier Part of https://github.com/rust-lang/docs.rs/issues/417 Setting the height was an error: forcing the element bottom to be at the bottom allows to change to top of the sidebar. r? @Mark-Simulacrum
Diffstat (limited to 'src/librustdoc/html/static/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/rustdoc.css | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 244b24af43f..64c858238db 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -183,7 +183,7 @@ nav.sub { position: fixed; left: 0; top: 0; - height: 100vh; + bottom: 0; overflow: auto; } @@ -573,7 +573,7 @@ h4 > code, h3 > code, .invisible > code { margin-top: 0; } -nav { +nav:not(.sidebar) { border-bottom: 1px solid; padding-bottom: 10px; margin-bottom: 10px; |
