Skip to content

Commit 8c07ebb

Browse files
authored
docs: add border-radius to hX:target selector styles (#19270)
* chore: add `border-radius` to `hX:target` selector styles * style: add padding to heading elements
1 parent eff7c57 commit 8c07ebb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/src/assets/scss/foundations.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ h4:target,
1010
h5:target,
1111
h6:target {
1212
background-color: var(--lighter-background-color);
13+
border-radius: var(--border-radius);
1314
}
1415

1516
*:focus {
@@ -363,6 +364,7 @@ h6 {
363364
font-weight: 500;
364365
margin-top: 0;
365366
margin-block-start: 0;
367+
padding: 0.25rem 0;
366368
}
367369

368370
h2,

0 commit comments

Comments
 (0)