From 1fb298bbfe60c33935d652bdcf32d1f656b3a688 Mon Sep 17 00:00:00 2001 From: shrimbly Date: Tue, 3 Mar 2026 21:05:32 +1300 Subject: [PATCH] style: tighten floating header closer to node body Reduce vertical padding from py-2 to py-1 and offset from -36 to -26 so the title sits closer to the node top edge. Co-Authored-By: Claude Opus 4.6 --- src/components/nodes/FloatingNodeHeader.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/nodes/FloatingNodeHeader.tsx b/src/components/nodes/FloatingNodeHeader.tsx index 4286259c..efa4d0c3 100644 --- a/src/components/nodes/FloatingNodeHeader.tsx +++ b/src/components/nodes/FloatingNodeHeader.tsx @@ -206,14 +206,14 @@ export function FloatingNodeHeader({ className="absolute pointer-events-auto transition-opacity duration-200" style={{ left: `${position.x}px`, - top: `${position.y - 36}px`, + top: `${position.y - 26}px`, width: `${width}px`, zIndex: selected ? 10000 : 9000, }} onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} > -
+
{/* Title Section */}
{titlePrefix}