mirror of
https://github.com/open-webui/open-webui
synced 2025-04-02 12:09:06 +00:00
refac: floating buttons behaviour in shared chat
This commit is contained in:
parent
effa87638d
commit
05dfb9cecd
@ -263,7 +263,7 @@
|
||||
</div>
|
||||
{:else}
|
||||
<div
|
||||
class="py-1 flex dark:text-gray-100 bg-gray-50 dark:bg-gray-800 border dark:border-gray-850 w-72 rounded-full shadow-xl"
|
||||
class="py-1 flex dark:text-gray-100 bg-gray-50 dark:bg-gray-800 border border-gray-100 dark:border-gray-850 w-72 rounded-full shadow-xl"
|
||||
>
|
||||
<input
|
||||
type="text"
|
||||
|
@ -742,7 +742,7 @@
|
||||
{history}
|
||||
content={message.content}
|
||||
sources={message.sources}
|
||||
floatingButtons={message?.done}
|
||||
floatingButtons={message?.done && !readOnly}
|
||||
save={!readOnly}
|
||||
{model}
|
||||
onTaskClick={async (e) => {
|
||||
|
Loading…
Reference in New Issue
Block a user