杨奕 7 жил өмнө
parent
commit
99e5a6b4ba

+ 4 - 1
packages/theme-chalk/src/input.scss

@@ -80,7 +80,7 @@
     display: inline-block;
     font-size: inherit;
     height: $--input-height;
-    line-height: 1;
+    line-height: $--input-height;
     outline: none;
     padding: 0 15px;
     transition: $--border-transition-base;
@@ -186,6 +186,7 @@
 
     @include e(inner) {
       height: $--input-medium-height;
+      line-height: $--input-medium-height;
     }
 
     .el-input__icon {
@@ -197,6 +198,7 @@
 
     @include e(inner) {
       height: $--input-small-height;
+      line-height: $--input-small-height;
     }
 
     .el-input__icon {
@@ -208,6 +210,7 @@
 
     @include e(inner) {
       height: $--input-mini-height;
+      line-height: $--input-mini-height;
     }
 
     .el-input__icon {