From 432651ead7cf3c28e905262feceec057c3a1dbfd Mon Sep 17 00:00:00 2001 From: m-tartari <37861893+m-tartari@users.noreply.github.com> Date: Wed, 14 Feb 2024 17:41:38 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(App):=20use=20smo?= =?UTF-8?q?oth=20scroll?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/index.css b/src/index.css index 168725b..4860190 100644 --- a/src/index.css +++ b/src/index.css @@ -1,5 +1,5 @@ -div#root { - padding: 0; +html { + scroll-behavior: smooth; } body { margin: 0; @@ -8,3 +8,6 @@ body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } +div#root { + padding: 0; +}