fix: 🩹 allow for any kind of heading except h1

This commit is contained in:
Sebin Nyshkim 2025-07-20 15:28:30 +02:00
parent 8a066f4d84
commit 624cb5089b
Signed by: SebinNyshkim
SSH key fingerprint: SHA256:LG1WHMySL/4iW/Yci+0eHgbf0te5beRiLlmyoY8E5D0

View file

@ -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;