mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac: chat transition
This commit is contained in:
parent
4e4b5ab83b
commit
512345f40e
@ -88,6 +88,7 @@
|
||||
import Placeholder from './Placeholder.svelte';
|
||||
import NotificationToast from '../NotificationToast.svelte';
|
||||
import Spinner from '../common/Spinner.svelte';
|
||||
import { fade } from 'svelte/transition';
|
||||
|
||||
export let chatIdProp = '';
|
||||
|
||||
@ -2011,6 +2012,7 @@
|
||||
id="chat-container"
|
||||
>
|
||||
{#if !loading}
|
||||
<div in:fade={{ duration: 100 }} class="w-full h-full flex flex-col">
|
||||
{#if $settings?.backgroundImageUrl ?? null}
|
||||
<div
|
||||
class="absolute {$showSidebar
|
||||
@ -2201,6 +2203,7 @@
|
||||
{eventTarget}
|
||||
/>
|
||||
</PaneGroup>
|
||||
</div>
|
||||
{:else if loading}
|
||||
<div class=" flex items-center justify-center h-full w-full">
|
||||
<div class="m-auto">
|
||||
|
Loading…
Reference in New Issue
Block a user