mirror of
https://github.com/open-webui/open-webui
synced 2025-02-06 13:10:16 +00:00
refac: user message edit
This commit is contained in:
parent
3069452210
commit
2db0f58dcb
@ -142,6 +142,7 @@
|
|||||||
|
|
||||||
{#if edit === true}
|
{#if edit === true}
|
||||||
<div class=" w-full bg-gray-50 dark:bg-gray-800 rounded-3xl px-5 py-3 mb-2">
|
<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
|
<textarea
|
||||||
id="message-edit-{message.id}"
|
id="message-edit-{message.id}"
|
||||||
bind:this={messageEditTextAreaElement}
|
bind:this={messageEditTextAreaElement}
|
||||||
@ -164,6 +165,7 @@
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class=" mt-2 mb-1 flex justify-between text-sm font-medium">
|
<div class=" mt-2 mb-1 flex justify-between text-sm font-medium">
|
||||||
<div>
|
<div>
|
||||||
|
Loading…
Reference in New Issue
Block a user