mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 14:04:03 +08:00
fix: inconsistent modal position (#3951)
This commit is contained in:
parent
1584174e1c
commit
b86a4a0fe0
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user