Skip to content

Commit

Permalink
fix: scroll margin top for subtitles too smal;
Browse files Browse the repository at this point in the history
  • Loading branch information
bodobraegger committed Oct 22, 2023
1 parent 5e5483f commit 4f628fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
scroll-margin-top: 128px;
}
h2, h3, h4, h5, h6 {
scroll-margin-top: 32px;
scroll-margin-top: calc(64px + var(--base-size-16, 16px) + 10px);
}
h1, h2, h3 {
color: var(--color-primary);
Expand Down

0 comments on commit 4f628fb

Please sign in to comment.