This commit is contained in:
NoriDev 2023-06-23 18:51:11 +09:00
parent 43782d223d
commit 117cf6c30a

View file

@ -1,6 +1,6 @@
<template>
<MkModal ref="modal" :preferType="'dialog'" @click="modal.close()" @closed="onModalClosed()">
<MkPostForm ref="form" style="margin: 0 auto auto auto; overflow: scroll; max-height: 100%" v-bind="props" autofocus freezeAfterPosted @posted="onPosted" @cancel="modal.close()" @esc="modal.close()"/>
<MkPostForm ref="form" style="margin: 0 auto auto auto; overflow: scroll; max-height: calc(100% - env(safe-area-inset-bottom));" v-bind="props" autofocus freezeAfterPosted @posted="onPosted" @cancel="modal.close()" @esc="modal.close()"/>
</MkModal>
</template>