Browse Source

fix: add rounded corners to ImageInput image and InlineParameterPanel settings

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
handoff-20260429-1057
shrimbly 4 months ago
parent
commit
262367976b
  1. 2
      src/components/nodes/ImageInputNode.tsx
  2. 2
      src/components/nodes/InlineParameterPanel.tsx

2
src/components/nodes/ImageInputNode.tsx

@ -111,7 +111,7 @@ export function ImageInputNode({ id, data, selected }: NodeProps<ImageInputNodeT
<img
src={nodeData.image}
alt={nodeData.filename || "Uploaded image"}
className="w-full h-full object-cover"
className="w-full h-full object-cover rounded-lg"
/>
<button
onClick={handleRemove}

2
src/components/nodes/InlineParameterPanel.tsx

@ -57,7 +57,7 @@ function InlineParameterPanelInner({
{/* Content area — smooth height animation */}
<div
id={`params-${nodeId}`}
className="nodrag nopan nowheel bg-[#2a2a2a] overflow-hidden transition-[max-height] duration-150 ease-out"
className="nodrag nopan nowheel bg-[#2a2a2a] overflow-hidden transition-[max-height] duration-150 ease-out rounded-b-lg"
style={{ maxHeight: expanded ? contentHeight : 0 }}
>
<div ref={contentRef} className="px-3 pt-2 pb-3 rounded-b-lg">

Loading…
Cancel
Save