fix: center environment action buttons vertically
This commit is contained in:
6
src/componets/env/Environment.tsx
vendored
6
src/componets/env/Environment.tsx
vendored
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user