refac: user message edit

This commit is contained in:
Timothy J. Baek 2024-10-19 18:42:26 -07:00
parent 3069452210
commit 2db0f58dcb

View File

@ -142,6 +142,7 @@
{#if edit === true}
<div class=" w-full bg-gray-50 dark:bg-gray-800 rounded-3xl px-5 py-3 mb-2">
<div class="max-h-[25dvh] overflow-auto">
<textarea
id="message-edit-{message.id}"
bind:this={messageEditTextAreaElement}
@ -164,6 +165,7 @@
}
}}
/>
</div>
<div class=" mt-2 mb-1 flex justify-between text-sm font-medium">
<div>