Skip to content

Commit 8c0c775

Browse files
authored
Merge pull request sighingnow#117 from Happypig375/master
Try to fix the expender such that only direct children are expanded
2 parents 703c478 + 7a8febd commit 8c0c775

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)