From ff58c664d1c275c38bd523961349103193171b39 Mon Sep 17 00:00:00 2001 From: Fabricio Duarte Date: Tue, 28 Feb 2023 02:57:06 -0300 Subject: [PATCH] Fix double scrollbars in deck options (#2406) * Fix double scrollbars in deck options * Remove !important Future pages may want to override overflow-x (?) and it doesn't seem to change anything for now. * Allow the body to expand vertically in the import CSV page --- sass/base.scss | 2 +- ts/import-csv/import-csv-base.scss | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sass/base.scss b/sass/base.scss index e093eaeac..6bca5fff4 100644 --- a/sass/base.scss +++ b/sass/base.scss @@ -40,11 +40,11 @@ body { } html { - overflow-x: hidden; overscroll-behavior: none; } body { + overflow-x: hidden; &:not(.isMac), &:not(.isMac) * { @include scrollbar.custom; diff --git a/ts/import-csv/import-csv-base.scss b/ts/import-csv/import-csv-base.scss index 2d614f22d..08c8b39e2 100644 --- a/ts/import-csv/import-csv-base.scss +++ b/ts/import-csv/import-csv-base.scss @@ -14,7 +14,8 @@ } body { - height: 100vh; + min-height: 100vh; + height: auto; width: min(100vw, 70em); margin: 0 auto; padding: 0 1em 1em 1em;