Skip to content

Commit 07e0c86

Browse files
committed
Stop hiding expand buttons
1 parent 5bdc215 commit 07e0c86

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

docs/_static/custom.css

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,15 @@ body.scroll-down,
163163
}
164164

165165
/* Hide sidebar expansion button when not on current item */
166-
.wy-menu li.toctree-l1:not(.current) a span.toctree-expand,
167-
.wy-menu li.toctree-l2:not(.current) a span.toctree-expand,
168-
.wy-menu li.toctree-l3:not(.current) a span.toctree-expand,
169-
.wy-menu li.toctree-l1:not(.current) a:hover span.toctree-expand,
170-
.wy-menu li.toctree-l2:not(.current) a:hover span.toctree-expand,
171-
.wy-menu li.toctree-l3:not(.current) a:hover span.toctree-expand {
172-
display: none;
173-
}
166+
/* Stop doing this (cannot re-expand after collapsing) */
167+
/* .wy-menu li.toctree-l1:not(.current) a span.toctree-expand,
168+
* .wy-menu li.toctree-l2:not(.current) a span.toctree-expand,
169+
* .wy-menu li.toctree-l3:not(.current) a span.toctree-expand,
170+
* .wy-menu li.toctree-l1:not(.current) a:hover span.toctree-expand,
171+
* .wy-menu li.toctree-l2:not(.current) a:hover span.toctree-expand,
172+
* .wy-menu li.toctree-l3:not(.current) a:hover span.toctree-expand {
173+
* display: none;
174+
* } */
174175

175176
/* Sidebar logo flush in box */
176177
/* Also remove bottom margins because TOC caption padding is enough */

0 commit comments

Comments
 (0)