From ed2c5a6c160269c8861b66f6a63dd133a1d80c9f Mon Sep 17 00:00:00 2001 From: chihlasm Date: Wed, 18 Feb 2026 23:55:50 -0500 Subject: [PATCH] fix: constrain tree editor page height to prevent panel overflow Add overflow-hidden to TreeEditorPage root and NodeEditorPanel container so the flex height chain is properly constrained by the CSS Grid cell, preventing the node editor sidebar from growing beyond the viewport. Co-Authored-By: Claude Opus 4.6 --- frontend/src/components/tree-editor/NodeEditorPanel.tsx | 2 +- frontend/src/pages/TreeEditorPage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/tree-editor/NodeEditorPanel.tsx b/frontend/src/components/tree-editor/NodeEditorPanel.tsx index d56d0e6b..02054e96 100644 --- a/frontend/src/components/tree-editor/NodeEditorPanel.tsx +++ b/frontend/src/components/tree-editor/NodeEditorPanel.tsx @@ -162,7 +162,7 @@ export function NodeEditorPanel({ nodeId, onClose, onSelectType }: NodeEditorPan const isRoot = treeStructure?.id === nodeId return ( -
+
{/* Header */}
diff --git a/frontend/src/pages/TreeEditorPage.tsx b/frontend/src/pages/TreeEditorPage.tsx index 731d29c9..b0af4285 100644 --- a/frontend/src/pages/TreeEditorPage.tsx +++ b/frontend/src/pages/TreeEditorPage.tsx @@ -407,7 +407,7 @@ export function TreeEditorPage() { } return ( -
+
{/* Draft Restore Prompt */} {showDraftPrompt && (