fix: align auto deploy toggle with form field row, add label
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user