fix: 优化后台列表与弹窗排版

This commit is contained in:
Nixevol
2026-07-04 22:45:36 +08:00
parent f493dc061d
commit a4bce741ea
4 changed files with 30 additions and 4 deletions
+7 -1
View File
@@ -54,7 +54,7 @@
</n-switch>
</n-form-item>
<n-form-item :label="t('pages.template.fields')">
<div style="width: 100%">
<div class="field-editor">
<div class="field-hint">{{ t('pages.template.sortHint') }}</div>
<div v-for="(f, i) in form.fields" :key="i" class="field-row">
<span class="field-order">{{ i + 1 }}</span>
@@ -293,6 +293,12 @@ onMounted(load);
align-items: center;
gap: 8px;
margin-bottom: 8px;
min-width: 560px;
}
.field-editor {
width: 100%;
overflow-x: auto;
padding-bottom: 2px;
}
.field-order {
width: 18px;