mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-14 05:02:01 -06:00
refac
This commit is contained in:
@@ -2235,7 +2235,7 @@
|
||||
id={inputId === 'chat-input' ? 'message-input-container' : `${inputId}-wrapper`}
|
||||
data-composer-id={inputId}
|
||||
class="flex-1 flex flex-col relative w-full shadow-[0_6px_24px_-4px_rgba(0,0,0,0.1)] rounded-3xl border {isTemporary
|
||||
? 'border-dashed border-gray-200 dark:border-gray-850'
|
||||
? 'border-dashed border-gray-300/70 dark:border-gray-700/70'
|
||||
: ' border-gray-200 dark:border-gray-850'} {($settings?.highContrastMode ??
|
||||
false)
|
||||
? 'focus-within:outline focus-within:outline-2 focus-within:-outline-offset-2 focus-within:outline-blue-500 [&_.ProseMirror:focus-visible]:outline-none!'
|
||||
|
||||
@@ -184,7 +184,8 @@
|
||||
? 'flex h-full min-h-0 flex-col overflow-hidden'
|
||||
: 'm-auto max-w-[58rem] px-1 md:@3xl:px-20 translate-y-6 py-24'} text-center"
|
||||
>
|
||||
{#if $temporaryChatEnabled}
|
||||
<!-- In a folder, temporary mode shows on the composer alone. -->
|
||||
{#if $temporaryChatEnabled && !$selectedFolder}
|
||||
<Tooltip
|
||||
content={$i18n.t("This chat won't appear in history and your messages will not be saved.")}
|
||||
className="w-full flex justify-center mb-0.5"
|
||||
|
||||
Reference in New Issue
Block a user