Skip to content

Commit a374b85

Browse files
fix: Keep resizer full height always
closes: #269
1 parent a4df15c commit a374b85

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

frontend/src/components/BuilderLeftPanel.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
<template>
22
<div class="flex">
3+
<PanelResizer
4+
:dimension="store.builderLayout.leftPanelWidth"
5+
side="right"
6+
:maxDimension="500"
7+
@resize="(width) => (store.builderLayout.leftPanelWidth = width)" />
38
<div class="flex min-h-full flex-col items-center gap-3 border-r border-outline-gray-1 p-3">
49
<button
510
v-for="option of leftPanelOptions"
@@ -20,11 +25,6 @@
2025
width: `${store.builderLayout.leftPanelWidth}px`,
2126
}"
2227
@click.stop="store.leftPanelActiveTab === 'Layers' && store.activeCanvas?.clearSelection()">
23-
<PanelResizer
24-
:dimension="store.builderLayout.leftPanelWidth"
25-
side="right"
26-
:maxDimension="500"
27-
@resize="(width) => (store.builderLayout.leftPanelWidth = width)" />
2828
<div v-if="false" class="mb-5 flex flex-col overflow-hidden rounded-lg text-sm">
2929
<textarea
3030
class="no-scrollbar h-fit resize-none rounded-sm border-0 bg-gray-300 text-sm outline-none dark:bg-zinc-700 dark:text-white"

0 commit comments

Comments
 (0)