From 04f4edbfde81b28dcacd4180921f6a1921201f75 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Mon, 9 Oct 2023 16:22:59 +0900 Subject: [PATCH] fix(style): replace to `dvh` from `vh` (#2914) --- app/_components/background.module.css | 3 ++- app/layout.module.css | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/_components/background.module.css b/app/_components/background.module.css index 5b42832fd..1213599bc 100644 --- a/app/_components/background.module.css +++ b/app/_components/background.module.css @@ -1,6 +1,7 @@ .container { bottom: 0; - height: 100vh; + height: 100%; + height: 100dvh; left: 0; overflow: hidden; position: fixed; diff --git a/app/layout.module.css b/app/layout.module.css index 83206b9ec..3af99c76e 100644 --- a/app/layout.module.css +++ b/app/layout.module.css @@ -13,7 +13,8 @@ .wrapper { display: grid; grid-template-rows: 1fr auto; - min-height: 100vh; + min-height: 100dvh; + min-height: 100dvh; } }