fix: 🩹 allow for any kind of heading except h1
This commit is contained in:
parent
8a066f4d84
commit
624cb5089b
1 changed files with 2 additions and 2 deletions
|
@ -48,14 +48,14 @@
|
||||||
padding-inline: var(--card-spacing);
|
padding-inline: var(--card-spacing);
|
||||||
}
|
}
|
||||||
|
|
||||||
:host h2 {
|
:host :where(h2, h3, h4, h5, h6) {
|
||||||
position: relative;
|
position: relative;
|
||||||
font-size: 1.375rem;
|
font-size: 1.375rem;
|
||||||
margin-block: 0 0.5em;
|
margin-block: 0 0.5em;
|
||||||
padding-block: 0 0.5em;
|
padding-block: 0 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host h2::after {
|
:host :where(h2, h3, h4, h5, h6)::after {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: block;
|
display: block;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue