Skip to content

Commit 4961f75

Browse files
authored
Merge pull request #312 from nginxinc/fix-scroll-anchor
Fix scroll anchor
2 parents 5829be2 + 34364b2 commit 4961f75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/css/v2/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ textarea:not([rows]) {
8585

8686
/* Anything that has been anchored to should have extra scroll margin */
8787
:target {
88-
scroll-margin-block: 5ex;
88+
scroll-margin-block: 5rem;
8989
}
9090

9191
/* END RESET */

0 commit comments

Comments
 (0)