Browse Source

fix: resolve clipped handles on full-bleed nodes

Use overflow-visible instead of overflow-clip for fullBleed nodes so
handle circles and labels extend beyond the node boundary. Add
overflow-hidden rounded-lg to image/video content containers to
preserve rounded corners on media.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
handoff-20260429-1057
shrimbly 4 months ago
parent
commit
2a4666bb89
  1. 2
      src/components/nodes/BaseNode.tsx
  2. 2
      src/components/nodes/GenerateImageNode.tsx
  3. 2
      src/components/nodes/GenerateVideoNode.tsx

2
src/components/nodes/BaseNode.tsx

@ -74,7 +74,7 @@ export function BaseNode({
/>
<div
className={`
h-full w-full flex flex-col overflow-clip
h-full w-full flex flex-col ${fullBleed ? "overflow-visible" : "overflow-clip"}
${fullBleed ? "rounded-lg" : "bg-neutral-800 rounded-lg shadow-lg border"}
${fullBleed ? "" : (isCurrentlyExecuting || isExecuting ? "border-blue-500 ring-1 ring-blue-500/20" : "border-neutral-700/60")}
${fullBleed ? "" : (hasError ? "border-red-500" : "")}

2
src/components/nodes/GenerateImageNode.tsx

@ -551,7 +551,7 @@ export function GenerateImageNode({ id, data, selected }: NodeProps<NanoBananaNo
Image
</div>
<div className="relative w-full h-full min-h-0">
<div className="relative w-full h-full min-h-0 overflow-hidden rounded-lg">
{/* Preview area */}
{nodeData.outputImage ? (
<>

2
src/components/nodes/GenerateVideoNode.tsx

@ -609,7 +609,7 @@ export function GenerateVideoNode({ id, data, selected }: NodeProps<GenerateVide
Video
</div>
<div className="relative w-full h-full min-h-0">
<div className="relative w-full h-full min-h-0 overflow-hidden rounded-lg">
{/* Preview area */}
{nodeData.outputVideo ? (
<>

Loading…
Cancel
Save