mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-03 18:17:56 -05:00
refac
This commit is contained in:
1 parent
13a4d8af08
commit
851d90c50a
5 files changed
+13
-6
No files matched your search
@@ -548,7 +548,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=" pb-3 px-3">
|
||||
<div class=" pb-[max(0.75rem,calc(env(safe-area-inset-bottom)/2))] px-3">
|
||||
<MessageInput
|
||||
id="root"
|
||||
{messages}
|
||||
|
||||
@@ -344,7 +344,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=" pb-3 px-3 w-full">
|
||||
<div class=" pb-[max(0.75rem,calc(env(safe-area-inset-bottom)/2))] px-3 w-full">
|
||||
<MessageInput
|
||||
{messages}
|
||||
bind:replyToMessage
|
||||
|
||||
@@ -6607,7 +6607,9 @@
|
||||
{:else}
|
||||
<div
|
||||
id={embedded ? messageInputDropzoneId : undefined}
|
||||
class=" pb-2 {dragged ? 'z-0' : 'z-10'}"
|
||||
class=" pb-[max(0.5rem,calc(env(safe-area-inset-bottom)/2))] {dragged
|
||||
? 'z-0'
|
||||
: 'z-10'}"
|
||||
>
|
||||
<MessageInput
|
||||
{selectedMachineId}
|
||||
@@ -6746,7 +6748,10 @@
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
<div id={embedded ? messageInputDropzoneId : undefined} class="pb-2 z-10">
|
||||
<div
|
||||
id={embedded ? messageInputDropzoneId : undefined}
|
||||
class="pb-[max(0.5rem,calc(env(safe-area-inset-bottom)/2))] z-10"
|
||||
>
|
||||
<MessageInput
|
||||
{selectedMachineId}
|
||||
machineSelectionEnabled={!machineFixed}
|
||||
|
||||
@@ -248,7 +248,7 @@
|
||||
{#if !folderReadOnly}
|
||||
<!-- Same mount as the in-chat composer, floating over the list and board. -->
|
||||
<div
|
||||
class="pointer-events-none absolute inset-x-0 bottom-0 bg-linear-to-t from-base-0 from-40% to-transparent pt-8 pb-2 text-left dark:from-base-900 {dragged
|
||||
class="pointer-events-none absolute inset-x-0 bottom-0 bg-linear-to-t from-base-0 from-40% to-transparent pt-8 pb-[max(0.5rem,calc(env(safe-area-inset-bottom)/2))] text-left dark:from-base-900 {dragged
|
||||
? 'z-0'
|
||||
: 'z-10'}"
|
||||
class:hidden={!folderComposer}
|
||||
|
||||
@@ -2351,7 +2351,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="px-1 pt-1 pb-1.5 sticky bottom-0 z-10 -mt-2 sidebar">
|
||||
<div
|
||||
class="px-1 pt-1 pb-[max(0.375rem,calc(env(safe-area-inset-bottom)/2))] sticky bottom-0 z-10 -mt-2 sidebar"
|
||||
>
|
||||
{#if !inboxOpened && $selectedChatIds.size > 0}
|
||||
<div
|
||||
class="flex items-center justify-between gap-1 px-2 py-0.5 text-[0.6875rem] text-base-500 dark:text-base-400"
|
||||
|
||||
Reference in new issue
Block a user