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);
|
||||
}
|
||||
|
||||
: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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue