From fe80c976dfb50ec85badc063da814126cb7ca568 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Tue, 27 Sep 2022 10:28:10 +0200 Subject: [PATCH] Fix scrolling --- src/index.scss | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/index.scss b/src/index.scss index ac9f203..5ba64db 100644 --- a/src/index.scss +++ b/src/index.scss @@ -38,13 +38,6 @@ html { height: 100%; overflow: hidden; - @media (min-width: $breakpoint-width) and (max-width: 999px) { - @include zoom(0.8); - } - - @media (min-width: 1000px) and (max-width: 1440px) { - @include zoom(0.875); - } @include on-small-screen { font-size: 0.8rem; @@ -58,6 +51,14 @@ html { } body { + @media (min-width: $breakpoint-width) and (max-width: 999px) { + @include zoom(0.8); + } + + @media (min-width: 1000px) and (max-width: 1440px) { + @include zoom(0.875); + } + background-color: var(--background); transition: background-color linear var(--transition-time);