diff --git a/sass/base.scss b/sass/base.scss index e2f649a43..6d3e13062 100644 --- a/sass/base.scss +++ b/sass/base.scss @@ -32,11 +32,6 @@ $utilities: ( flex-basis: 75%; } -html, -body { - height: 100%; -} - * { overscroll-behavior: none; } diff --git a/ts/change-notetype/change-notetype-base.scss b/ts/change-notetype/change-notetype-base.scss index 4172fdd13..c1dea6e4e 100644 --- a/ts/change-notetype/change-notetype-base.scss +++ b/ts/change-notetype/change-notetype-base.scss @@ -23,6 +23,10 @@ html { overflow-x: hidden; } +html, body { + height: 100%; +} + #main { padding: 0.5em 0.5em 1em 0.5em; height: 100vh; diff --git a/ts/editor/editor-base.scss b/ts/editor/editor-base.scss index 1e942aa3e..acc334257 100644 --- a/ts/editor/editor-base.scss +++ b/ts/editor/editor-base.scss @@ -12,3 +12,7 @@ $btn-disabled-opacity: 0.4; html { overflow: hidden; } + +html, body { + height: 100%; +}