refac: placeholder fade in effect

This commit is contained in:
Timothy J. Baek 2024-05-01 23:41:12 -07:00
parent b19e05669e
commit 8fb5e22e43
4 changed files with 50 additions and 30 deletions

View file

@ -294,7 +294,6 @@
{/if}
<Sidebar />
<slot />
{/if}
</div>

View file

@ -5,7 +5,6 @@
import { onMount, tick, getContext } from 'svelte';
import { goto } from '$app/navigation';
import { page } from '$app/stores';
import {
models,
modelfiles,
@ -860,8 +859,8 @@
{#if loaded}
<div
class="min-h-screen max-h-screen {$showSidebar
? 'max-w-[calc(100%-260px)]'
: 'max-w-full'} flex flex-col"
? ' lg:max-w-[calc(100%-260px)]'
: ''} max-w-full flex flex-col"
>
<Navbar
{title}