Skip to content

Commit 34364b2

Browse files
committed
Anchor: Fixed anchors being hidden when auto scrolled
1 parent 5829be2 commit 34364b2

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)