From 459e31ca66e35fd1b792c37a31dcb0251884af40 Mon Sep 17 00:00:00 2001 From: shrimbly Date: Tue, 10 Mar 2026 07:36:20 +1300 Subject: [PATCH] fix: match outer wrapper bg to node body and let fields resize on narrow nodes - Change outer wrapper bg from #2a2a2a to bg-neutral-800 to match node body, eliminating visible color mismatch at rounded corners - Remove overflow-hidden from InlineParameterPanel (was clipping fields) - Use min(180px, 100%) in grid minmax so columns shrink to fit narrow nodes Co-Authored-By: Claude Opus 4.6 --- src/components/nodes/BaseNode.tsx | 2 +- src/components/nodes/InlineParameterPanel.tsx | 2 +- src/components/nodes/ModelParameters.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/nodes/BaseNode.tsx b/src/components/nodes/BaseNode.tsx index e38fc7bc..394fbf0c 100644 --- a/src/components/nodes/BaseNode.tsx +++ b/src/components/nodes/BaseNode.tsx @@ -180,7 +180,7 @@ export function BaseNode({ return (
diff --git a/src/components/nodes/InlineParameterPanel.tsx b/src/components/nodes/InlineParameterPanel.tsx index a088769a..d9f6238b 100644 --- a/src/components/nodes/InlineParameterPanel.tsx +++ b/src/components/nodes/InlineParameterPanel.tsx @@ -49,7 +49,7 @@ export function InlineParameterPanel({ {expanded && (
{children}
diff --git a/src/components/nodes/ModelParameters.tsx b/src/components/nodes/ModelParameters.tsx index 93e6a154..1b8d1b6c 100644 --- a/src/components/nodes/ModelParameters.tsx +++ b/src/components/nodes/ModelParameters.tsx @@ -227,7 +227,7 @@ export function ModelParameters({