Skip to content

Commit ada7efa

Browse files
Fix bad handling of the source code viewer sidebar style to prevent the appearance of the logo
1 parent b8967b0 commit ada7efa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustdoc/html/static/css/rustdoc.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -397,17 +397,17 @@ nav.sub {
397397
overflow-y: hidden;
398398
}
399399

400-
.source .sidebar > *:not(:first-child) {
401-
transition: opacity 0.5s;
400+
.source .sidebar > *:not(#sidebar-toggle) {
402401
opacity: 0;
403402
visibility: hidden;
403+
transition: opacity 0.5s;
404404
}
405405

406406
.source .sidebar.expanded {
407407
overflow-y: auto;
408408
}
409409

410-
.source .sidebar.expanded > * {
410+
.source .sidebar.expanded > *:not(#sidebar-toggle) {
411411
opacity: 1;
412412
visibility: visible;
413413
}

0 commit comments

Comments
 (0)