fix: center environment action buttons vertically

This commit is contained in:
sokol
2026-02-19 23:35:38 +03:00
parent a6cc5a9827
commit 52232f6cde

View File

@@ -97,7 +97,7 @@ export function Environment({ envs, onChanged, onSelected, onAdd, onRemove }: En
<Card variant="bordered" padding="none" className="h-full"> <Card variant="bordered" padding="none" className="h-full">
<CardBody className="space-y-4"> <CardBody className="space-y-4">
{/* Environment Selector */} {/* Environment Selector */}
<div className="flex items-center gap-2"> <div className="flex gap-2">
<div className="flex-1"> <div className="flex-1">
<Select <Select
label="Environment" label="Environment"
@@ -112,6 +112,8 @@ export function Environment({ envs, onChanged, onSelected, onAdd, onRemove }: En
/> />
</div> </div>
<div className="flex flex-col justify-center gap-2 pt-6">
<div className="flex gap-2">
<Button <Button
variant="success" variant="success"
size="sm" size="sm"
@@ -129,6 +131,8 @@ export function Environment({ envs, onChanged, onSelected, onAdd, onRemove }: En
disabled={currEnv.isDefault()} disabled={currEnv.isDefault()}
/> />
</div> </div>
</div>
</div>
{/* Parameters Section */} {/* Parameters Section */}
<div> <div>