mirror of https://github.com/logseq/logseq
improve(ui): polish modal postion for mobile
parent
79d0766b04
commit
9faf5fd461
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue