Skip to content

Commit d312f80

Browse files
authored
Merge pull request #395 from matthew-hre/fix/sidecar-highlight-fix
fix(sidecar): now properly highlighting selected heading on click
2 parents 2efbca2 + 6e911ea commit d312f80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/jumplink-header/JumplinkHeader.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
}
5252

5353
& + .jumplinkHeader {
54+
scroll-margin-top: calc(var(--header-height) + 16px);
5455
& .content {
5556
margin-top: 0;
5657
}

0 commit comments

Comments
 (0)