improve(ui): polish modal postion for mobile

pull/7492/head
charlie 2022-11-29 18:05:43 +08:00
parent 79d0766b04
commit 9faf5fd461
1 changed files with 6 additions and 1 deletions

View File

@ -226,7 +226,12 @@ html.is-native-iphone-without-notch
html.is-mobile {
.ui__modal {
@apply bottom-0 inset-x-0;
@apply bottom-0 inset-x-0 top-20;
}
.ui__modal-panel .panel-content {
width: calc(98vw - 2rem);
padding-bottom: 0;
}
}