refac/fix: user message toolbar display

This commit is contained in:
Timothy Jaeryang Baek
2025-08-14 04:12:30 +04:00
parent b43acc2b3d
commit e13f1738d4

View File

@@ -323,7 +323,11 @@
{/if}
</div>
</div>
</div>
{/if}
{/if}
{#if edit !== true}
<div
class=" flex {($settings?.chatBubble ?? true)
? 'justify-end'
@@ -388,9 +392,7 @@
messageIndexEdit = true;
await tick();
const input = document.getElementById(
`message-index-input-${message.id}`
);
const input = document.getElementById(`message-index-input-${message.id}`);
if (input) {
input.focus();
input.select();
@@ -560,9 +562,7 @@
messageIndexEdit = true;
await tick();
const input = document.getElementById(
`message-index-input-${message.id}`
);
const input = document.getElementById(`message-index-input-${message.id}`);
if (input) {
input.focus();
input.select();
@@ -598,8 +598,6 @@
{/if}
{/if}
</div>
</div>
{/if}
{/if}
</div>
</div>