From 7b883c2dfc9f73f7d135c40fb1ba889d80c72de3 Mon Sep 17 00:00:00 2001 From: Davide Iadeluca Date: Sat, 6 Jan 2024 13:07:23 +0100 Subject: [PATCH] fix(modal): use dynamic viewport units for height --- framework/core/less/common/Modal.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/less/common/Modal.less b/framework/core/less/common/Modal.less index 3e9b7014ab..eba17c0a9e 100644 --- a/framework/core/less/common/Modal.less +++ b/framework/core/less/common/Modal.less @@ -149,7 +149,7 @@ margin: 0; -webkit-transform: none !important; transform: none !important; - top: 100vh; + top: 100dvh; &.fade { opacity: 1; @@ -162,7 +162,7 @@ .Modal-content { border-radius: 0; border: 0; - min-height: 100vh; + min-height: 100dvh; padding-top: var(--header-height-phone); box-shadow: none; }