From ec6c0f5c2408bfb79f19c2509b794f67a7670737 Mon Sep 17 00:00:00 2001 From: Muzakir Shah Date: Sun, 8 Oct 2023 14:46:14 +0500 Subject: [PATCH 1/2] Smooth Scroll Added smooth scroll transition --- index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.html b/index.html index adda244..60b68a9 100644 --- a/index.html +++ b/index.html @@ -50,6 +50,10 @@ [data-theme="light"][auto-theme] { --theme-switch: var(--switch-auto-black); } + + html { + scroll-behavior: smooth; + } html, body { margin: 0; From 344f86f6eb94862cb7231620792b4a3cbd53be59 Mon Sep 17 00:00:00 2001 From: Kiril Vatev Date: Mon, 16 Oct 2023 00:58:32 -0400 Subject: [PATCH 2/2] Update index.html fixing whitespace issue --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 60b68a9..e2941f9 100644 --- a/index.html +++ b/index.html @@ -52,8 +52,8 @@ } html { - scroll-behavior: smooth; - } + scroll-behavior: smooth; + } html, body { margin: 0;