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;