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

shuuji3/feat/thread-remove-button
TAKAHASHI Shuuji 2024-04-20 01:29:58 +09:00
rodzic cc1d149ac8
commit c0925a7846
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: F15C887632129F5E
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -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>