From ba86f3920a1d86157d2179ce608b964779f4c779 Mon Sep 17 00:00:00 2001 From: Arghya Das Date: Sat, 4 Jan 2025 21:50:13 +0530 Subject: [PATCH 1/2] feat: smooth css scroll --- styles/globals.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/styles/globals.css b/styles/globals.css index b7b7f5f6f..d0548af24 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -59,9 +59,16 @@ * { @apply border-border; } + + html { + scroll-behavior: smooth; + } + body { @apply bg-background text-foreground; - font-feature-settings: "rlig" 1, "calt" 1; + font-feature-settings: + "rlig" 1, + "calt" 1; } } From 9855b27c8678a7b474114160925a8e9247b89c92 Mon Sep 17 00:00:00 2001 From: Dillion Verma Date: Sat, 4 Jan 2025 15:03:28 -0500 Subject: [PATCH 2/2] fix: consolidate --- styles/globals.css | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/styles/globals.css b/styles/globals.css index d0548af24..531256026 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -60,15 +60,12 @@ @apply border-border; } - html { - scroll-behavior: smooth; - } - body { @apply bg-background text-foreground; font-feature-settings: "rlig" 1, "calt" 1; + scroll-behavior: smooth; } }