AddEnvironmentVariableRow padding (#71)
This commit is contained in:
parent
a69dd71117
commit
c72cbce615
@ -19,7 +19,7 @@ const AddEnvironmentVariableRow = ({
|
|||||||
isDeleteDisabled,
|
isDeleteDisabled,
|
||||||
}: AddEnvironmentVariableRowProps) => {
|
}: AddEnvironmentVariableRowProps) => {
|
||||||
return (
|
return (
|
||||||
<div className="flex py-4 self-stretch">
|
<div className="flex gap-2 py-1 self-stretch">
|
||||||
<Input
|
<Input
|
||||||
size="md"
|
size="md"
|
||||||
{...register(`variables.${index}.key`, {
|
{...register(`variables.${index}.key`, {
|
||||||
@ -34,16 +34,9 @@ const AddEnvironmentVariableRow = ({
|
|||||||
required: 'Value field cannot be empty',
|
required: 'Value field cannot be empty',
|
||||||
})}
|
})}
|
||||||
/>
|
/>
|
||||||
<div className="self-end">
|
<Button size="md" iconOnly onClick={onDelete} disabled={isDeleteDisabled}>
|
||||||
<Button
|
<TrashIcon />
|
||||||
size="md"
|
</Button>
|
||||||
iconOnly
|
|
||||||
onClick={onDelete}
|
|
||||||
disabled={isDeleteDisabled}
|
|
||||||
>
|
|
||||||
<TrashIcon />
|
|
||||||
</Button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -86,7 +86,7 @@ const EditEnvironmentVariableRow = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="flex gap-1 p-2">
|
<div className="flex gap-1">
|
||||||
<div>
|
<div>
|
||||||
<Typography variant="small">Key</Typography>
|
<Typography variant="small">Key</Typography>
|
||||||
<Input disabled={!edit} {...register(`key`)} />
|
<Input disabled={!edit} {...register(`key`)} />
|
||||||
|
Loading…
Reference in New Issue
Block a user