Skip to content

Commit 7d00ee0

Browse files
authored
Merge pull request #1224 from apricote/fix-book-tabs
📖 allow up to 20 tabs in book
2 parents 13f9f70 + 93b2515 commit 7d00ee0

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/book/theme/css/general.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,19 @@ cite.literate-source > a::before {
536536
.tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
537537
.tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6),
538538
.tabset > input:nth-child(13):checked ~ .tab-panels > .tab-panel:nth-child(7),
539-
.tabset > input:nth-child(15):checked ~ .tab-panels > .tab-panel:nth-child(8){
539+
.tabset > input:nth-child(15):checked ~ .tab-panels > .tab-panel:nth-child(8),
540+
.tabset > input:nth-child(17):checked ~ .tab-panels > .tab-panel:nth-child(9),
541+
.tabset > input:nth-child(19):checked ~ .tab-panels > .tab-panel:nth-child(10),
542+
.tabset > input:nth-child(21):checked ~ .tab-panels > .tab-panel:nth-child(11),
543+
.tabset > input:nth-child(23):checked ~ .tab-panels > .tab-panel:nth-child(12),
544+
.tabset > input:nth-child(25):checked ~ .tab-panels > .tab-panel:nth-child(13),
545+
.tabset > input:nth-child(27):checked ~ .tab-panels > .tab-panel:nth-child(14),
546+
.tabset > input:nth-child(29):checked ~ .tab-panels > .tab-panel:nth-child(15),
547+
.tabset > input:nth-child(31):checked ~ .tab-panels > .tab-panel:nth-child(16),
548+
.tabset > input:nth-child(33):checked ~ .tab-panels > .tab-panel:nth-child(17),
549+
.tabset > input:nth-child(35):checked ~ .tab-panels > .tab-panel:nth-child(18),
550+
.tabset > input:nth-child(37):checked ~ .tab-panels > .tab-panel:nth-child(19),
551+
.tabset > input:nth-child(39):checked ~ .tab-panels > .tab-panel:nth-child(20){
540552
display: block;
541553
}
542554

0 commit comments

Comments
 (0)