Skip to content

Commit eede269

Browse files
authored
Scroll: Fixed anchor scrolling by switching units (#335)
1 parent 2c59f39 commit eede269

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
@@ -86,7 +86,7 @@ textarea:not([rows]) {
8686

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

9292
/* END RESET */

0 commit comments

Comments
 (0)