Skip to content

Commit 98a5180

Browse files
committed
set scroll-padding-top
1 parent d3f6aee commit 98a5180

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

2025/src/styles/global.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ body {
88
font-family: Arial, Helvetica, sans-serif;
99
}
1010

11+
html {
12+
scroll-padding-top: calc(var(--spacing) * 16)
13+
}
14+
1115
@layer utilities {
1216
.text-balance {
1317
text-wrap: balance;

0 commit comments

Comments
 (0)