From 06d99cb6bebed3ccaf0ad0a303c4c8b31314769a Mon Sep 17 00:00:00 2001 From: enkeii64 Date: Mon, 4 Aug 2025 18:52:52 +1000 Subject: [PATCH] fixes --- apps/web/src/app/editor/[project_id]/page.tsx | 79 ++++++++++++++++++- apps/web/src/stores/panel-store.ts | 14 ++-- 2 files changed, 85 insertions(+), 8 deletions(-) diff --git a/apps/web/src/app/editor/[project_id]/page.tsx b/apps/web/src/app/editor/[project_id]/page.tsx index f1252a44..4d5a27fc 100644 --- a/apps/web/src/app/editor/[project_id]/page.tsx +++ b/apps/web/src/app/editor/[project_id]/page.tsx @@ -235,10 +235,87 @@ export default function Editor() { key={`inspector-${activePreset}-${resetCounter}`} direction="horizontal" className="h-full w-full gap-[0.18rem] px-3 pb-3" + > + setPropertiesPanel(100 - size)} + className="min-w-0 min-h-0" + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ) : activePreset === "vertical-preview" ? ( + setPreviewPanel(100 - size)} className="min-w-0 min-h-0" > = { timeline: 25, }, inspector: { - toolsPanel: 25, - previewPanel: 50, - propertiesPanel: 25, - mainContent: 100, + toolsPanel: 30, + previewPanel: 70, + propertiesPanel: 30, + mainContent: 75, timeline: 25, }, "vertical-preview": { - toolsPanel: 25, + toolsPanel: 30, previewPanel: 40, - propertiesPanel: 35, - mainContent: 100, + propertiesPanel: 30, + mainContent: 75, timeline: 25, }, };