Files
open-webui/src/lib/components/common/MessageComposerShell.svelte
T
2026-11-17 00:31:18 +09:00

17 lines
492 B
Svelte

<script lang="ts">
import { settings } from '$lib/stores';
export let id: string | undefined = undefined;
</script>
<div
{id}
dir={$settings?.chatDirection === 'RTL'
? 'rtl'
: $settings?.chatDirection === 'LTR'
? 'ltr'
: 'auto'}
class="flex-1 flex flex-col relative w-full shadow-[0_6px_24px_-4px_rgba(0,0,0,0.1)] rounded-3xl border border-gray-200 dark:border-gray-850 transition px-0.5 bg-white/60 dark:bg-gray-900/50 backdrop-blur-md dark:text-gray-100"
>
<slot />
</div>