From e346a905faffdb390579998d6fbe95ecfa3f106a Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Mon, 8 May 2023 20:12:55 -0700 Subject: [PATCH] Add details styling for the TableOfContents --- assets/styles/root.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/styles/root.css b/assets/styles/root.css index 15c48ad..179eade 100644 --- a/assets/styles/root.css +++ b/assets/styles/root.css @@ -180,6 +180,12 @@ details { width: 100%; } +details:has(#TableOfContents) { + box-sizing: border-box; + border: 1px solid var(--separator-color); + padding: var(--body-item-spacing); +} + fieldset { box-sizing: border-box; border: 1px solid var(--separator-color);