This commit is contained in:
Timothy J. Baek 2024-09-18 01:25:28 +02:00
parent d25ccfba5f
commit 771482c6e6

View File

@ -78,7 +78,15 @@
showControls.set(false); showControls.set(false);
}} }}
> >
<div class=" px-6 py-4 h-full"> <div class=" {$showOverview ? ' h-screen w-screen' : 'px-6 py-4'} h-full">
{#if $showOverview}
<Overview
bind:history
on:close={() => {
showControls.set(false);
}}
/>
{:else}
<Controls <Controls
on:close={() => { on:close={() => {
showControls.set(false); showControls.set(false);
@ -87,6 +95,7 @@
bind:chatFiles bind:chatFiles
bind:params bind:params
/> />
{/if}
</div> </div>
</Drawer> </Drawer>
{/if} {/if}