Skip to content

Commit da54ce6

Browse files
feat: add smooth scroll to html
1 parent 633b71e commit da54ce6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/index.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@
4747
--sidebar-ring: oklch(0.708 0 0);
4848
}
4949

50-
body{
50+
html {
51+
scroll-behavior: smooth;
52+
}
53+
54+
body {
5155
background-color: var(--background);
5256
color: var(--foreground);
5357
}

0 commit comments

Comments
 (0)