Skip to content

Commit f53f878

Browse files
MeAkibthePunderWoman
authored andcommitted
fix(docs-infra): use margin instead of padding to prevent heading hover overflow
Replaced padding-block-start with margin-block-start on .docs-reference-section-heading to prevent anchor hover and click areas from extending into empty space above the heading. This ensures hover behavior aligns with the visible text.
1 parent c09f535 commit f53f878

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

adev/shared-docs/styles/_reference.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@
6464
}
6565

6666
.docs-reference-section-heading {
67-
padding-block-start: 3rem;
67+
margin-block-start: 3rem;
6868

6969
&--sub {
70-
padding-block-start: 1rem;
70+
margin-block-start: 1rem;
7171
}
7272

7373
& > a {

0 commit comments

Comments
 (0)