Skip to content

Commit

Permalink
Merge pull request #172 from intechstudio/betty-dev
Browse files Browse the repository at this point in the history
Betty-dev: leftPane overflow fix
  • Loading branch information
SukuWc authored Mar 2, 2023
2 parents d7c7369 + 7924593 commit ce3a763
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/renderer/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,14 @@
on:resized={handlePaneResized}
class="w-full"
>
<Pane bind:size={$splitpanes.left} snapSize={5}>
<Pane class="leftPane" bind:size={$splitpanes.left} snapSize={5}>
<LeftPanelContainer />
</Pane>

<Pane>
<GridLayout classes={"flex-1"} />
</Pane>

<Pane size={$splitpanes.right} minSize={20}>
<RightPanelContainer classes={"min-w-[300px]"} />
</Pane>
Expand All @@ -202,6 +204,11 @@
position: relative;
overflow: visible;
}
/*betty magic variable*/
.splitpanes.modern-theme .splitpanes__pane.leftPane {
overflow: hidden;
}
.splitpanes.modern-theme .splitpanes__splitter {
background-color: #4c4c4c;
position: relative;
Expand Down
6 changes: 6 additions & 0 deletions src/renderer/main/LeftPanelContainer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,9 @@
</div>
</div>
{/if}

<style>
.splitpanes.modern-theme .splitpanes__pane {
overflow: visible;
}
</style>

0 comments on commit ce3a763

Please sign in to comment.