mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac: styling
This commit is contained in:
parent
c92d1ce219
commit
ff9f2614f3
1 changed files with 7 additions and 2 deletions
|
|
@ -38,7 +38,8 @@
|
|||
showChangelog,
|
||||
temporaryChatEnabled,
|
||||
toolServers,
|
||||
showSearch
|
||||
showSearch,
|
||||
showSidebar
|
||||
} from '$lib/stores';
|
||||
|
||||
import Sidebar from '$lib/components/layout/Sidebar.svelte';
|
||||
|
|
@ -339,7 +340,11 @@
|
|||
{#if loaded}
|
||||
<slot />
|
||||
{:else}
|
||||
<div class="w-full flex-1 h-full flex items-center justify-center">
|
||||
<div
|
||||
class="w-full flex-1 h-full flex items-center justify-center {$showSidebar
|
||||
? ' md:max-w-[calc(100%-260px)]'
|
||||
: ' '}"
|
||||
>
|
||||
<Spinner className="size-5" />
|
||||
</div>
|
||||
{/if}
|
||||
|
|
|
|||
Loading…
Reference in a new issue