diff --git a/sass/atoms/_base.scss b/sass/atoms/_base.scss index f4cc43ca..d363ab51 100644 --- a/sass/atoms/_base.scss +++ b/sass/atoms/_base.scss @@ -5,6 +5,10 @@ html { background-color: $white; box-sizing: border-box; color: $text-color; + + &:focus-within { + scroll-behavior: smooth; + } } body { diff --git a/sass/lib/_reset.scss b/sass/lib/_reset.scss index d9b6a1ed..6a8d98dd 100644 --- a/sass/lib/_reset.scss +++ b/sass/lib/_reset.scss @@ -34,7 +34,6 @@ dd { /* Set core body defaults */ body { min-height: 100vh; - scroll-behavior: smooth; text-rendering: optimizeSpeed; line-height: 1.5; }