From d3250d864d6e4de6de67ec19b5d7a825a24e7343 Mon Sep 17 00:00:00 2001 From: zhouyonggao <1971162852@qq.com> Date: Tue, 23 Dec 2025 11:06:45 +0800 Subject: [PATCH] =?UTF-8?q?refactor(styles):=20=E7=A7=BB=E9=99=A4=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E6=A1=86=E5=92=8C=E8=A1=A8=E5=8D=95=E9=A1=B9=E7=9A=84?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除了多余的输入框高度和内边距强制设置 - 移除了表单项及文本域的字体大小和行高调整 - 精简了样式文件,减少冗余CSS规则 - 保持任务列表样式相关代码未变更 --- web/styles.css | 52 -------------------------------------------------- 1 file changed, 52 deletions(-) diff --git a/web/styles.css b/web/styles.css index 8a9a5e1..41f0317 100644 --- a/web/styles.css +++ b/web/styles.css @@ -1,58 +1,6 @@ body{font-family:system-ui,Arial} .section-title{font-weight:600;margin:8px 0} -/* 输入框高度调整 */ -:root .el-input__wrapper { - padding: 0 6px !important; - min-height: 20px !important; -} -:root .el-input .el-input__inner { - height: 20px !important; - line-height: 20px !important; - font-size: 12px !important; -} -:root .el-input--small .el-input__wrapper { - padding: 0 6px !important; - min-height: 18px !important; -} -:root .el-input--small .el-input__inner { - height: 18px !important; - line-height: 18px !important; - font-size: 12px !important; -} -/* 表单项输入框 */ -:root .el-form-item .el-input__wrapper { - padding: 0 6px !important; - min-height: 20px !important; -} -:root .el-form-item .el-input__inner { - height: 20px !important; - line-height: 20px !important; - font-size: 12px !important; -} - -/* 文本域高度调整 */ -:root .el-textarea__inner { - min-height: 60px !important; - padding: 4px 8px !important; - font-size: 12px !important; - line-height: 1.4 !important; -} - -/* 表单项整体高度调整 */ -:root .el-form-item { - margin-bottom: 12px !important; -} -:root .el-form-item__label { - line-height: 20px !important; - font-size: 12px !important; - padding: 0 !important; - margin-bottom: 4px !important; -} -:root .el-form-item__content { - line-height: 20px !important; -} - /* 任务列表样式 - 参考变更文件 */ .el-dialog__body { padding: 16px;