mirror of
https://github.com/open-webui/open-webui
synced 2025-04-22 15:33:21 +00:00
refac: floating buttons behaviour in shared chat
This commit is contained in:
parent
effa87638d
commit
05dfb9cecd
src/lib/components/chat
@ -263,7 +263,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
<div
|
<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
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
|
@ -742,7 +742,7 @@
|
|||||||
{history}
|
{history}
|
||||||
content={message.content}
|
content={message.content}
|
||||||
sources={message.sources}
|
sources={message.sources}
|
||||||
floatingButtons={message?.done}
|
floatingButtons={message?.done && !readOnly}
|
||||||
save={!readOnly}
|
save={!readOnly}
|
||||||
{model}
|
{model}
|
||||||
onTaskClick={async (e) => {
|
onTaskClick={async (e) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user