Fix FormItem structure (#2034)

This commit is contained in:
Chenlei Hu
2024-12-23 21:33:03 -05:00
committed by GitHub
parent e2bbfe7d80
commit 54ca111c7c
3 changed files with 22 additions and 24 deletions

View File

@@ -51,11 +51,7 @@
>
<Divider v-if="i > 0" />
<h3>{{ $t(`serverConfigCategories.${label}`, label) }}</h3>
<div
v-for="item in items"
:key="item.name"
class="flex items-center mb-4"
>
<div v-for="item in items" :key="item.name" class="mb-4">
<FormItem
:item="translateItem(item)"
v-model:formValue="item.value"

View File

@@ -9,7 +9,7 @@
<div
v-for="setting in group.settings"
:key="setting.id"
class="setting-item flex items-center mb-4"
class="setting-item mb-4"
>
<SettingItem :setting="setting" />
</div>