fix(ui): the release channel control sits at the Updates card's edge, not mid-row

This commit is contained in:
sam committed 2026-10-07 23:34:13 +11:00
1 parent 75b3810856
commit 2ea7f7cd38
2 files changed
+59 -55

No files matched your search

+6 -2
View File
@@ -37,10 +37,14 @@ const channel = computed({
<CardContent>
<p v-if="error" class="mb-2 text-sm text-danger" role="alert">{{ error }}</p>
<SettingRow label="Release channel">
<SegmentedControl v-model="channel" label="Release channel" :options="channels" />
<div class="flex justify-end">
<SegmentedControl v-model="channel" label="Release channel" :options="channels" />
</div>
</SettingRow>
<SettingRow v-if="channel === 'exact-pin'" label="Version" for="update-pin">
<Input id="update-pin" v-model="draft.pin" class="max-w-40 font-mono" placeholder="1.48.0" />
<div class="flex justify-end">
<Input id="update-pin" v-model="draft.pin" class="max-w-40 font-mono" placeholder="1.48.0" />
</div>
</SettingRow>
</CardContent>
</Card>