Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: switch two-column list styles to be opt-in #5110

Merged
merged 8 commits into from
Jun 19, 2024
6 changes: 4 additions & 2 deletions docs/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ a.direct-link {

ul {
box-sizing: content-box;
}

ul.two-column {
column-count: 2;
column-gap: 30px;
margin-top: 20px;
Expand All @@ -188,9 +191,8 @@ ul {

ul.single-column,
ul.single-column > li > ul {
column-count: 1;
margin-top: 0;
padding-right: 0;
padding: 0 0 0 15px;
}

ul li {
Expand Down
2 changes: 2 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@ Mocha is a feature-rich JavaScript test framework running on [Node.js][] and in
- [before, after, before each, after each hooks](#hooks)
- [arbitrary transpiler support (coffee-script etc)](#-compilers)
- [TextMate bundle](#textmate)
{:.two-column}

## Table of Contents

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

## Installation

Expand Down
Loading