From 695d36a9069c57b22de294c05a065f51feb0a53d Mon Sep 17 00:00:00 2001 From: Chris Botelho Date: Mon, 23 Oct 2023 13:38:08 -0400 Subject: [PATCH] Update toc.ts Adds expander class to TOC
  • elements with children to allow for additional theming via CSS styles. --- templates/modern/src/toc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/modern/src/toc.ts b/templates/modern/src/toc.ts index 66261ea885e..4c4bfcc996a 100644 --- a/templates/modern/src/toc.ts +++ b/templates/modern/src/toc.ts @@ -114,7 +114,7 @@ export async function renderToc(): Promise { const isExpanded = (tocFilter !== '' && expanded !== false && children != null) || expanded === true return html` -
  • +
  • ${isLeaf ? null : html``} ${dom} ${children}