From 42b0ea173d3d8e1f4371884fef2d83591c633425 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Wed, 21 Jul 2021 16:05:29 -0400 Subject: [PATCH] Make toc two-columns --- .../homebrew/editor/snippetbar/snippets/tableOfContents.gen.js | 2 +- themes/5ePhb.style.less | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/client/homebrew/editor/snippetbar/snippets/tableOfContents.gen.js b/client/homebrew/editor/snippetbar/snippets/tableOfContents.gen.js index a90f8c8b2..f0964e582 100644 --- a/client/homebrew/editor/snippetbar/snippets/tableOfContents.gen.js +++ b/client/homebrew/editor/snippetbar/snippets/tableOfContents.gen.js @@ -75,7 +75,7 @@ module.exports = function(brew){ }, []).join('\n'); return dedent` - {{toc + {{toc,wide # Table Of Contents ${markdown} diff --git a/themes/5ePhb.style.less b/themes/5ePhb.style.less index 17d27d00a..137fcafa9 100644 --- a/themes/5ePhb.style.less +++ b/themes/5ePhb.style.less @@ -568,6 +568,9 @@ body { margin-left : 1em; } } + &.wide{ + .useColumns(0.96); + } } //*****************************