From df0168b6bda00c4f7aff060114436a69fa0ddd3d Mon Sep 17 00:00:00 2001 From: dertyp7 Date: Sun, 14 Jan 2024 17:51:54 +0100 Subject: [PATCH] Refactor scroll behavior in index.scss --- src/styles/index.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/styles/index.scss b/src/styles/index.scss index 4a08371..39f332d 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -27,7 +27,9 @@ } html { - scroll-behavior: smooth; + @media (min-width: 768px) { + scroll-behavior: smooth; + } } h1 {