Skip to content

Commit 15a0a0e

Browse files
committed
Add columns to dropdown TOC menu
1 parent 4227d07 commit 15a0a0e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/style.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ body {
1717
margin: 0;
1818
background: #292929;
1919
width: var(--sidebar-width);
20-
border-right: #404040 1px solid;
2120
}
2221

2322
#header h1 {
@@ -117,12 +116,16 @@ body {
117116
display: none;
118117
}
119118

119+
#header #toc > ul {
120+
column-width: 12em;
121+
margin-bottom: 1em;
122+
}
123+
120124
#header {
121125
width: auto;
122126
right: 0;
123127
height: 44px;
124128
border-right: none;
125-
border-bottom: #404040 1px solid;
126129
}
127130

128131
#header h1 {

0 commit comments

Comments
 (0)