From b86a4a0fe0d0d18439b8046dfced0539f3d2ce22 Mon Sep 17 00:00:00 2001 From: Davide Iadeluca <146922689+DavideIadeluca@users.noreply.github.com> Date: Mon, 21 Oct 2024 18:55:50 +0200 Subject: [PATCH] fix: inconsistent modal position (#3951) --- 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 bff624731..22535e1ef 100644 --- a/framework/core/less/common/Modal.less +++ b/framework/core/less/common/Modal.less @@ -201,7 +201,7 @@ margin: 0; -webkit-transform: none !important; transform: none !important; - top: 100vh; + top: 100dvh; &.fade { opacity: 1; @@ -214,7 +214,7 @@ .Modal-content { border-radius: 0; border: 0; - min-height: 100vh; + min-height: 100dvh; padding-top: var(--header-height-phone); box-shadow: none; }