From 64d8788f01a4348a9c7788a39fe2b79e2bef5936 Mon Sep 17 00:00:00 2001 From: marjorie Date: Tue, 5 Mar 2024 21:56:28 -0300 Subject: [PATCH] refactor: add two-column class to the toc Use the class two-column instead of applying the style by using its id. --- docs/css/style.css | 1 - docs/index.md | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/css/style.css b/docs/css/style.css index 86dd53fdd5..c3ad3fa7f9 100644 --- a/docs/css/style.css +++ b/docs/css/style.css @@ -184,7 +184,6 @@ ul { padding: 0 15px; } -h2#table-of-contents + ul, ul.two-column { column-count: 2; column-gap: 30px; diff --git a/docs/index.md b/docs/index.md index 23a2d2bc4b..28013c37dd 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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