TMP: put close button over text box? how to adjust text layout? how to carry on the thread index information?

This commit is contained in:
TAKAHASHI Shuuji 2024-04-20 01:29:58 +09:00
parent cc1d149ac8
commit c0925a7846
No known key found for this signature in database
GPG key ID: F15C887632129F5E

View file

@ -305,6 +305,12 @@ function stopQuestionMarkPropagation(e: KeyboardEvent) {
@keydown="stopQuestionMarkPropagation"
@keydown.esc.prevent="editor?.commands.blur()"
/>
<CommonTooltip placement="top" :content="t('tooltip.remove_thread_item')" absolute right-1>
<button btn-action-icon :aria-label="t('tooltip.remove_thread_item')" @click="addOrRemoveItem">
<div i-ri:chat-delete-line />
</button>
</CommonTooltip>
</div>
<div v-if="isUploading" flex gap-1 items-center text-sm p1 text-primary>