Input: update line-height (#10064)

pull/10067/head
杨奕 2018-03-08 14:01:48 +08:00 committed by GitHub
parent b3062de0d2
commit 99e5a6b4ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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 {