Skip to content

Commit bd3fb78

Browse files
committed
fix: hide splitter when sidebar is hidden
1 parent 7f01558 commit bd3fb78

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/ext/extension-page/App.svelte

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,14 @@
105105
>
106106
{#if !sidebarHidden}
107107
<Sidebar {sidebarSwitch} />
108+
<div
109+
role="none"
110+
class="splitter"
111+
class:dragging={splitterActive}
112+
on:mousedown={handleSplitterDrag}
113+
on:mouseup={handleSplitterDrag}
114+
></div>
108115
{/if}
109-
<div
110-
role="none"
111-
class="splitter"
112-
class:dragging={splitterActive}
113-
on:mousedown={handleSplitterDrag}
114-
on:mouseup={handleSplitterDrag}
115-
></div>
116116
<Editor {sidebarHidden} {sidebarSwitch} />
117117
</main>
118118
{#if splitterActive}

0 commit comments

Comments
 (0)