Skip to content

Commit

Permalink
problem: layout size is bad
Browse files Browse the repository at this point in the history
  • Loading branch information
gsovereignty committed Sep 23, 2024
1 parent 3c14d45 commit 3f57f42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/layouts/MailLayout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
</script>

<Resizable.PaneGroup direction="horizontal" class="h-full max-h-[800px] items-stretch">
<Resizable.Pane collapsible minSize={15} maxSize={30}><slot name="list"></slot></Resizable.Pane>
<Resizable.Pane defaultSize={40} minSize={10} maxSize={50}
><slot name="list"></slot></Resizable.Pane
>

<Resizable.Handle withHandle />
<Resizable.Pane minSize={40} maxSize={85}><slot name="problem"></slot></Resizable.Pane>
<Resizable.Handle withHandle />
<Resizable.Pane minSize={10} defaultSize={20} maxSize={30}
<Resizable.Pane minSize={10} defaultSize={10} maxSize={30}
><slot name="meta"></slot></Resizable.Pane
>
</Resizable.PaneGroup>
2 changes: 1 addition & 1 deletion src/layouts/SidePanelLayout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
<Login />
</div>
</header>
<div class="flex flex-1 flex-col overflow-auto p-4">
<div class="flex flex-1 flex-col overflow-auto pt-2">
<slot name="content"></slot>
</div>
</div>
Expand Down

0 comments on commit 3f57f42

Please sign in to comment.