1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 07:27:39 +02:00

fix: inconsistent modal position (#3951)

This commit is contained in:
Davide Iadeluca
2024-10-21 18:55:50 +02:00
committed by GitHub
parent 1584174e1c
commit b86a4a0fe0

View File

@@ -201,7 +201,7 @@
margin: 0; margin: 0;
-webkit-transform: none !important; -webkit-transform: none !important;
transform: none !important; transform: none !important;
top: 100vh; top: 100dvh;
&.fade { &.fade {
opacity: 1; opacity: 1;
@@ -214,7 +214,7 @@
.Modal-content { .Modal-content {
border-radius: 0; border-radius: 0;
border: 0; border: 0;
min-height: 100vh; min-height: 100dvh;
padding-top: var(--header-height-phone); padding-top: var(--header-height-phone);
box-shadow: none; box-shadow: none;
} }