We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8967b0 commit ada7efaCopy full SHA for ada7efa
src/librustdoc/html/static/css/rustdoc.css
@@ -397,17 +397,17 @@ nav.sub {
397
overflow-y: hidden;
398
}
399
400
-.source .sidebar > *:not(:first-child) {
401
- transition: opacity 0.5s;
+.source .sidebar > *:not(#sidebar-toggle) {
402
opacity: 0;
403
visibility: hidden;
+ transition: opacity 0.5s;
404
405
406
.source .sidebar.expanded {
407
overflow-y: auto;
408
409
410
-.source .sidebar.expanded > * {
+.source .sidebar.expanded > *:not(#sidebar-toggle) {
411
opacity: 1;
412
visibility: visible;
413
0 commit comments