Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

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

Marjorie Saitoe03011541019
diff --git a/docs/css/style.css b/docs/css/style.css
index 79dbc261..c36f73c8 100644
--- a/docs/css/style.css
+++ b/docs/css/style.css
@@ -180,6 +180,9 @@ a.direct-link {
ul {
box-sizing: content-box;
+}
+
+ul.two-column {
column-count: 2;
column-gap: 30px;
margin-top: 20px;
@@ -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 {
diff --git a/docs/index.md b/docs/index.md
index 22ec2a0d..4c71ef5f 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -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