improve(ui): polish position of modal

This commit is contained in:
charlie
2022-11-03 11:27:26 +08:00
committed by Tienson Qin
parent f68485208c
commit e9943748cd
3 changed files with 9 additions and 4 deletions

View File

@@ -87,7 +87,8 @@
}
.ui__modal {
@apply fixed px-4 pb-4 inset-0 flex items-baseline justify-center top-12 sm:top-24;
@apply fixed px-4 pb-4 inset-0 flex items-baseline justify-center
top-12 sm:top-[calc(3vh+50px)];
&-overlay {
@apply fixed inset-0 transition-opacity;