From 624cb5089b5b40603426dea2783edf50737b827c Mon Sep 17 00:00:00 2001 From: Sebin Nyshkim Date: Sun, 20 Jul 2025 15:28:30 +0200 Subject: [PATCH] fix: :adhesive_bandage: allow for any kind of heading except h1 --- src/components/card.webc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/card.webc b/src/components/card.webc index 0d63978..081b60f 100644 --- a/src/components/card.webc +++ b/src/components/card.webc @@ -48,14 +48,14 @@ padding-inline: var(--card-spacing); } - :host h2 { + :host :where(h2, h3, h4, h5, h6) { position: relative; font-size: 1.375rem; margin-block: 0 0.5em; padding-block: 0 0.5em; } - :host h2::after { + :host :where(h2, h3, h4, h5, h6)::after { content: ''; position: absolute; display: block;