From d6c2c0cdf41b41349cd22bb9da065e9338b3c476 Mon Sep 17 00:00:00 2001 From: mos Date: Sat, 1 Jan 2022 16:12:52 +0900 Subject: [PATCH] fix(#14): scroll issue test --- styles/globals.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/styles/globals.scss b/styles/globals.scss index 21ae18c..a33cee6 100644 --- a/styles/globals.scss +++ b/styles/globals.scss @@ -384,6 +384,8 @@ textarea { .background { background-color: #F1F2F4; position: relative; + height: 100vh; /* Use vh as a fallback for browsers that do not support Custom Properties */ + height: calc(var(--vh, 1vh) * 100); } .background-title { @@ -423,7 +425,8 @@ textarea { display: block; position: relative; max-width: 420px; - height: 100vh; overflow: hidden; margin: 0 auto; + height: 100vh; /* Use vh as a fallback for browsers that do not support Custom Properties */ + height: calc(var(--vh, 1vh) * 100); } \ No newline at end of file