Skip to content

Commit 033e2d1

Browse files
committed
fix toc toggle
1 parent 48653db commit 033e2d1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/book/theme/css/custom.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@
1515
justify-content: center; /* horizontal centering */
1616
}
1717

18+
/* Fixes collapsed headers in TOC */
19+
.chapter li:not(.expanded) > ol {
20+
display: inherit;
21+
}
22+
23+
.chapter-fold-toggle {
24+
display: none;
25+
}
26+
1827
/* Fixes first header sliding under the menu bar when selected */
1928
.content {
2029
overflow-y: clip;

0 commit comments

Comments
 (0)