Skip to content

Commit

Permalink
scroll-margin
Browse files Browse the repository at this point in the history
  • Loading branch information
basher committed Mar 7, 2024
1 parent fdc738d commit 9697b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ a:hover {
}

:target {
scroll-margin-block: 1em;
scroll-margin-block: calc(var(--gutter-clamp-xl) * 3);
}

@media (prefers-reduced-motion: no-preference) {
Expand Down

0 comments on commit 9697b66

Please sign in to comment.