refactor: improve dropzone UI

This commit is contained in:
三咲智子 2022-11-25 17:31:32 +08:00
parent 5f254b378f
commit 3dddf6d5f7
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E

View file

@ -134,7 +134,8 @@ onUnmounted(() => {
<div
ref="dropZoneRef"
flex flex-col gap-3 flex-1
:class="[isSending ? 'pointer-events-none' : '', isOverDropZone ? 'border-2 border-dashed border-primary' : '']"
border="2 dashed transparent" p-1
:class="[isSending ? 'pointer-events-none' : '', isOverDropZone ? '!border-primary' : '']"
>
<textarea
v-model="draft.params.status"