refac: styling
This commit is contained in:
@@ -38,7 +38,8 @@
|
|||||||
showChangelog,
|
showChangelog,
|
||||||
temporaryChatEnabled,
|
temporaryChatEnabled,
|
||||||
toolServers,
|
toolServers,
|
||||||
showSearch
|
showSearch,
|
||||||
|
showSidebar
|
||||||
} from '$lib/stores';
|
} from '$lib/stores';
|
||||||
|
|
||||||
import Sidebar from '$lib/components/layout/Sidebar.svelte';
|
import Sidebar from '$lib/components/layout/Sidebar.svelte';
|
||||||
@@ -339,7 +340,11 @@
|
|||||||
{#if loaded}
|
{#if loaded}
|
||||||
<slot />
|
<slot />
|
||||||
{:else}
|
{: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" />
|
<Spinner className="size-5" />
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in New Issue
Block a user