From f8d170be87d411c4b5929f28838ede6a0c488546 Mon Sep 17 00:00:00 2001 From: David Bolack Date: Tue, 10 Sep 2024 12:15:12 -0500 Subject: [PATCH] Document level toggles need to look at pages, not page. --- themes/V3/5ePHB/style.less | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/V3/5ePHB/style.less b/themes/V3/5ePHB/style.less index d119792ae..8f19b46c5 100644 --- a/themes/V3/5ePHB/style.less +++ b/themes/V3/5ePHB/style.less @@ -797,7 +797,7 @@ // *****************************/ // Default Exclusions -// Anything not exlcuded is included, default Headers are H1, H2, and H3. +// Anything not excluded is included, default Headers are H1, H2, and H3. h4, h5, h6, @@ -814,15 +814,15 @@ h6, .tocDepthH5 :is(h1, h2, h3, h4, h5) {--TOC: include; } .tocDepthH6 :is(h1, h2, h3, h4, h5, h6) {--TOC: include; } -.page:has(.tocGlobalH4) { +.pages:has(.tocGlobalH4) { h4 {--TOC: include; } } -.page:has(.tocGlobalH5) { +.pages:has(.tocGlobalH5) { h4, h5 {--TOC: include; } } -.page:has(.tocGlobalH6) { +.pages:has(.tocGlobalH6) { h4, h5, h6 {--TOC: include; } }