Skip to content

Commit 64d8788

Browse files
committed
refactor: add two-column class to the toc
Use the class two-column instead of applying the style by using its id.
1 parent c358aae commit 64d8788

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

docs/css/style.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ ul {
184184
padding: 0 15px;
185185
}
186186

187-
h2#table-of-contents + ul,
188187
ul.two-column {
189188
column-count: 2;
190189
column-gap: 30px;

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Mocha is a feature-rich JavaScript test framework running on [Node.js][] and in
4949
## Table of Contents
5050

5151
{{ toc }}
52+
{:.two-column}
5253

5354
## Installation
5455

0 commit comments

Comments
 (0)