Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

feat: adding smooth scroll

Arghya Das25187500f088
diff --git a/styles/globals.css b/styles/globals.css
index 53125602..d0548af2 100644
--- a/styles/globals.css
+++ b/styles/globals.css
@@ -60,12 +60,15 @@
@apply border-border;
}
+ html {
+ scroll-behavior: smooth;
+ }
+
body {
@apply bg-background text-foreground;
font-feature-settings:
"rlig" 1,
"calt" 1;
- scroll-behavior: smooth;
}
}