From 1a7cba508fa79b1f2b4b9af0da1966c4c10cf471 Mon Sep 17 00:00:00 2001 From: Anne-Greeth van Herwijnen Date: Thu, 26 Oct 2023 13:59:41 +0200 Subject: [PATCH] Fix margin for heading, because of css specificity --- addon/styles/table-of-contents.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addon/styles/table-of-contents.css b/addon/styles/table-of-contents.css index 9b284112..eecf8345 100644 --- a/addon/styles/table-of-contents.css +++ b/addon/styles/table-of-contents.css @@ -16,12 +16,12 @@ margin-bottom: 0; } -li.toc-heading { +.table-of-contents li.toc-heading { margin-top: var(--spacing-4); color: var(--color-gray-600); } -li.toc-heading:first-child { +.table-of-contents li.toc-heading:first-child { margin-top: 0; }