Skip to content

Commit

Permalink
refactor: add two-column class to the toc
Browse files Browse the repository at this point in the history
Use the class two-column instead of applying the style by using its id.
  • Loading branch information
marjys committed Mar 6, 2024
1 parent c358aae commit 64d8788
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion docs/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ ul {
padding: 0 15px;
}

h2#table-of-contents + ul,
ul.two-column {
column-count: 2;
column-gap: 30px;
Expand Down
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Mocha is a feature-rich JavaScript test framework running on [Node.js][] and in
## Table of Contents

{{ toc }}
{:.two-column}

## Installation

Expand Down

0 comments on commit 64d8788

Please sign in to comment.