refactor(styles): 移除输入框和表单项的样式调整
- 删除了多余的输入框高度和内边距强制设置 - 移除了表单项及文本域的字体大小和行高调整 - 精简了样式文件,减少冗余CSS规则 - 保持任务列表样式相关代码未变更
This commit is contained in:
parent
65f4b59c89
commit
d3250d864d
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue