mirror of https://github.com/ElemeFE/element
Input: update line-height (#10064)
parent
b3062de0d2
commit
99e5a6b4ba
|
@ -80,7 +80,7 @@
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
height: $--input-height;
|
height: $--input-height;
|
||||||
line-height: 1;
|
line-height: $--input-height;
|
||||||
outline: none;
|
outline: none;
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
transition: $--border-transition-base;
|
transition: $--border-transition-base;
|
||||||
|
@ -186,6 +186,7 @@
|
||||||
|
|
||||||
@include e(inner) {
|
@include e(inner) {
|
||||||
height: $--input-medium-height;
|
height: $--input-medium-height;
|
||||||
|
line-height: $--input-medium-height;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input__icon {
|
.el-input__icon {
|
||||||
|
@ -197,6 +198,7 @@
|
||||||
|
|
||||||
@include e(inner) {
|
@include e(inner) {
|
||||||
height: $--input-small-height;
|
height: $--input-small-height;
|
||||||
|
line-height: $--input-small-height;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input__icon {
|
.el-input__icon {
|
||||||
|
@ -208,6 +210,7 @@
|
||||||
|
|
||||||
@include e(inner) {
|
@include e(inner) {
|
||||||
height: $--input-mini-height;
|
height: $--input-mini-height;
|
||||||
|
line-height: $--input-mini-height;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input__icon {
|
.el-input__icon {
|
||||||
|
|
Loading…
Reference in New Issue