From 3f119cc9cf1f18620e27d6e268ce0bbaddf3113f Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Sun, 24 May 2026 22:32:59 +0800 Subject: [PATCH] fix: use fixed column widths for type/length columns in table structure editor --- .../src/components/structure/TableStructureEditor.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/desktop/src/components/structure/TableStructureEditor.vue b/apps/desktop/src/components/structure/TableStructureEditor.vue index 5f9d5ba557..7c17b5d1de 100644 --- a/apps/desktop/src/components/structure/TableStructureEditor.vue +++ b/apps/desktop/src/components/structure/TableStructureEditor.vue @@ -497,10 +497,10 @@ watch( {{ t("structureEditor.columnName") }} - + {{ t("structureEditor.dataType") }} - + {{ t("structureEditor.length") }} @@ -549,13 +549,13 @@ watch( :empty-text="t('structureEditor.noMatchingType')" :loading-text="t('common.loading')" :allow-custom="true" - trigger-class="h-6 min-w-24 font-mono text-[11px]" + trigger-class="h-6 w-full font-mono text-[11px]" @update:model-value="(v: string) => column.dataType = combineDataType(v, splitDataType(column.dataType).params)" />