diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-02-24 12:04:17 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-02-24 12:18:16 +0100 |
| commit | ada7efae9d86c25e351363a0ea6a895082e4eef5 (patch) | |
| tree | c19d1e7fb4768f0466a20029de8209fe27a8282a /src/librustdoc/html/static/css/rustdoc.css | |
| parent | b8967b0d52a2ba5f0c9da0da03e78ccba5534e4a (diff) | |
| download | rust-ada7efae9d86c25e351363a0ea6a895082e4eef5.tar.gz rust-ada7efae9d86c25e351363a0ea6a895082e4eef5.zip | |
Fix bad handling of the source code viewer sidebar style to prevent the appearance of the logo
Diffstat (limited to 'src/librustdoc/html/static/css/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index f1e0a89883a..3d1b8f172b9 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -397,17 +397,17 @@ nav.sub { overflow-y: hidden; } -.source .sidebar > *:not(:first-child) { - transition: opacity 0.5s; +.source .sidebar > *:not(#sidebar-toggle) { opacity: 0; visibility: hidden; + transition: opacity 0.5s; } .source .sidebar.expanded { overflow-y: auto; } -.source .sidebar.expanded > * { +.source .sidebar.expanded > *:not(#sidebar-toggle) { opacity: 1; visibility: visible; } |
