fix: publish button in mobile device

closes #694
This commit is contained in:
三咲智子 2023-01-02 22:09:53 +08:00
parent c2261370b4
commit e728ee0556
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E

View file

@ -288,7 +288,7 @@ defineExpose({
<div flex gap-4>
<div w-12 h-full sm:block hidden />
<div
v-if="shouldExpanded" flex="~ gap-1 1" m="s--1" pt-2 justify="between" max-w-full
v-if="shouldExpanded" flex="~ gap-1 1 wrap" m="s--1" pt-2 justify="between" max-w-full
border="t base"
>
<PublishEmojiPicker
@ -388,7 +388,7 @@ defineExpose({
</CommonTooltip>
<button
btn-solid rounded-full text-sm
btn-solid rounded-full text-sm w-full md:w-fit
:disabled="isEmpty || isUploading || (draft.attachments.length === 0 && !draft.params.status)"
@click="publish"
>