Skip to content

Commit

Permalink
add maxSize to panes
Browse files Browse the repository at this point in the history
  • Loading branch information
moalamri committed Dec 8, 2024
1 parent 1098767 commit 5f8098c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@

<Splitter.Root
size={[
{ id: SPLITTER_IDS.ELEMENTS, size: 20, minSize: 15 },
{ id: SPLITTER_IDS.FORM, size: 60, minSize: 60 },
{ id: SPLITTER_IDS.EDITOR, size: 20, minSize: 15 }
{ id: SPLITTER_IDS.ELEMENTS, size: 20, minSize: 15, maxSize: 25 },
{ id: SPLITTER_IDS.FORM, size: 60, minSize: 50, maxSize: 100 },
{ id: SPLITTER_IDS.EDITOR, size: 20, minSize: 15, maxSize: 25 }
]}
style="height: calc(100vh - 38px); justify-content: center;"
onSizeChange={(details) => {
Expand Down

0 comments on commit 5f8098c

Please sign in to comment.