Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const IteratorInput = ({ className }: { className?: string }) => {
Input
</p>
</div>
<div className="flex flex-row items-center gap-x-2">
<div className="flex min-w-0 flex-1 flex-row items-center gap-x-2">
<Select.Root
value={selectedInputOption?.path}
onValueChange={(value) => {
Expand Down Expand Up @@ -120,7 +120,7 @@ export const IteratorInput = ({ className }: { className?: string }) => {
}
}}
>
<Select.Trigger className="!w-[245px]">
<Select.Trigger className="!min-w-[300px] !flex-1">
<Select.Value aria-label={selectedInputOption?.path}>
{selectedInputOption ? (
<p className="rounded bg-semantic-accent-bg px-2 py-0.5 text-semantic-accent-default product-body-text-4-medium">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@ export const OutputSet = ({
disabledDeleteButton?: boolean;
}) => {
return (
<div key={outputKey} className="flex flex-row items-center gap-x-3">
<div key={outputKey} className="flex flex-row flex-wrap items-center gap-x-3">
<p className="text-semantic-fg-primary product-body-text-3-semibold">
{outputKey}
</p>
<div className="flex flex-row gap-x-2">
<p className="text-semantic-fg-secondary product-body-text-4-semibold">
<div className="flex min-w-0 flex-1 flex-row items-center gap-x-2">
Comment on lines +62 to +66

Copilot AI Mar 3, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flex-wrap is enabled on this row but only gap-x-3 is set. When wrapping occurs, the second line will have no vertical spacing and can look cramped (or appear like elements are colliding). Consider adding a gap-y-* (or switching to gap-*) to provide consistent spacing when items wrap (similar to other flex-wrap rows in the codebase).

Copilot uses AI. Check for mistakes.
<p className="shrink-0 text-semantic-fg-secondary product-body-text-4-semibold">
array of
</p>
<OutputValueInput outputKey={outputKey} />
</div>
<OutputValueInput outputKey={outputKey} />
{disabledDeleteButton ? null : (
<DeleteOutputButton outputKey={outputKey} />
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const OutputValueInput = ({ outputKey }: { outputKey: string }) => {
}, [tempSavedNodesForEditingIteratorFlow, editingIteratorID, outputKey]);

return (
<Input.Root className="!h-8 !w-[250px]">
<Input.Root className="!h-8 !min-w-[250px] !flex-1">
<Input.Core
className="!product-body-text-4-medium"
value={outputValue}
Expand Down
Loading