From 60ad9de1919bbcd9609f78c30e66c709e74c8ce3 Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Sat, 10 Oct 2026 13:37:51 +0800 Subject: [PATCH] fix(web-admin): lock label-top dialog label spacing and weight Keep 4px gap and font-weight 400 for vertical form labels. Co-authored-by: Cursor --- web-admin/src/assets/styles/core/el-ui.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/web-admin/src/assets/styles/core/el-ui.scss b/web-admin/src/assets/styles/core/el-ui.scss index 11480d3b..f110676c 100644 --- a/web-admin/src/assets/styles/core/el-ui.scss +++ b/web-admin/src/assets/styles/core/el-ui.scss @@ -50,12 +50,15 @@ line-height: var(--el-component-custom-height) !important; } -// label-top 弹窗表单:13px 深色标签 +// label-top 弹窗表单:13px 深色标签(勿沿用左侧 label 的 36px 行高) .el-form--label-top .el-form-item__label { + height: auto !important; + line-height: 1.4 !important; font-size: 13px !important; - font-weight: 500 !important; + font-weight: 400 !important; color: var(--mint-text) !important; padding: 0 0 4px !important; + margin-bottom: 0 !important; } // 日期选择器