fix: align auto deploy toggle with form field row, add label

This commit is contained in:
2026-03-28 14:51:40 +03:00
parent 95fed8bf08
commit f8c2e1ad74
+5 -2
View File
@@ -342,8 +342,11 @@
<FormField label="Name *" name="stageName" bind:value={stageName} placeholder="dev" />
<FormField label="Tag Pattern" name="stagePattern" bind:value={stageTagPattern} placeholder="dev-*" helpText="Glob pattern (e.g., dev-*, v*)" />
<FormField label="Max Instances" name="stageMax" type="number" bind:value={stageMaxInstances} />
<div class="flex items-end pb-2">
<ToggleSwitch bind:checked={stageAutoDeploy} label="Auto Deploy" />
<div class="flex flex-col gap-1.5">
<label class="text-sm font-medium text-[var(--text-primary)]">Auto Deploy</label>
<div class="flex items-center h-[38px]">
<ToggleSwitch bind:checked={stageAutoDeploy} label="Auto Deploy" />
</div>
</div>
</div>
<div class="mt-3 flex justify-end">