mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Fix bad handling of the source code viewer sidebar style to prevent the appearance of the logo
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user