'admin-22.07.16:修复行内表单最后一个el-form-item位置下移问题'

This commit is contained in:
lyt
2022-07-16 22:57:49 +08:00
parent e57dde4bab
commit 356040806d
3 changed files with 371 additions and 356 deletions

View File

@ -30,9 +30,20 @@
/* Form 表单
------------------------------- */
.el-form {
// 用于修改弹窗时表单内容间隔太大问题,如系统设置的新增菜单弹窗里的表单内容
.el-form-item:last-of-type {
margin-bottom: 0 !important;
}
// 修复行内表单最后一个 el-form-item 位置下移问题
&.el-form--inline {
.el-form-item--large.el-form-item:last-of-type {
margin-bottom: 22px !important;
}
.el-form-item--default.el-form-item:last-of-type,
.el-form-item--small.el-form-item:last-of-type {
margin-bottom: 18px !important;
}
}
}
/* Alert 警告