Commit 5ac81906 authored by 刘安琪's avatar 刘安琪

调整form item间距,错误提示位置

parent 06d81700
......@@ -36,7 +36,7 @@
}
}
@include b(form-item) {
margin-bottom: 12px;
margin-bottom: 18px;
@include utils-clearfix;
& .el-form-item {
......@@ -107,9 +107,6 @@
min-height: 32px;
position: relative;
font-size: 14px;
display: flex;
display: -webkit-flex;
align-items:center;
@include utils-clearfix;
.el-input-group {
......@@ -119,13 +116,10 @@
@include e(error) {
color: $--color-danger;
font-size: 12px;
line-height: 32px;
height: 32px;
line-height: 16px;
height: 16px;
white-space:nowrap;
margin-left:28px;
// position: absolute;
// top: 100%;
// left: 0;
margin-bottom: -20px;
@include m(inline) {
position: relative;
......
......@@ -288,7 +288,7 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
display: block; }
.el-form-item {
margin-bottom: 12px; }
margin-bottom: 18px; }
.el-form-item::before,
.el-form-item::after {
display: table;
......@@ -338,14 +338,7 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
line-height: 32px;
min-height: 32px;
position: relative;
font-size: 14px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
display: -webkit-flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center; }
font-size: 14px; }
.el-form-item__content::before,
.el-form-item__content::after {
display: table;
......@@ -357,10 +350,10 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
.el-form-item__error {
color: #FF3D33;
font-size: 12px;
line-height: 32px;
height: 32px;
line-height: 16px;
height: 16px;
white-space: nowrap;
margin-left: 28px; }
margin-bottom: -20px; }
.el-form-item__error--inline {
position: relative;
top: auto;
......
......@@ -32359,7 +32359,7 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
display: block; }
.el-form-item {
margin-bottom: 12px; }
margin-bottom: 18px; }
.el-form-item::before,
.el-form-item::after {
display: table;
......@@ -32409,14 +32409,7 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
line-height: 32px;
min-height: 32px;
position: relative;
font-size: 14px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
display: -webkit-flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center; }
font-size: 14px; }
.el-form-item__content::before,
.el-form-item__content::after {
display: table;
......@@ -32428,10 +32421,10 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
.el-form-item__error {
color: #FF3D33;
font-size: 12px;
line-height: 32px;
height: 32px;
line-height: 16px;
height: 16px;
white-space: nowrap;
margin-left: 28px; }
margin-bottom: -20px; }
.el-form-item__error--inline {
position: relative;
top: auto;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment