Skip to content

Commit 7a8febd

Browse files
authored
Try to fix the expender such that only direct children are expanded
1 parent 703c478 commit 7a8febd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

assets/gitbook/gitbook-plugin-expandable-chapters-small2/expandable-chapters-small.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
max-height: 0px;
55
}
66

7-
.book .book-summary .chapter li ul {
7+
.book .book-summary .chapter li > ul {
88
overflow: hidden;
99
max-height: 0px !important;
1010
}
@@ -14,7 +14,7 @@
1414
max-height: 9999px;
1515
}
1616

17-
.book .book-summary .chapter.expanded li.expanded ul {
17+
.book .book-summary .chapter.expanded li.expanded > ul {
1818
max-height: 9999px !important;
1919
}
2020

0 commit comments

Comments
 (0)