mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-22 21:50:42 -05:00
17 lines
492 B
Svelte
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>
|