Commit 1ba66276 authored by jeremywu's avatar jeremywu Committed by baiyaaaaa

Input-Number: fixed multi-size component border overflow, tested on chrome 60,...

Input-Number: fixed multi-size component border overflow, tested on chrome 60, canary, chromium, safari, firefox (#6310)
parent 84f81687
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
width: 200px; width: 200px;
& .el-input-number__increase, .el-input-number__decrease { & .el-input-number__increase, .el-input-number__decrease {
line-height: var(--input-large-height); line-height: calc(var(--input-large-height) - 2);
width: var(--input-large-height); width: var(--input-large-height);
font-size: var(--input-large-font-size); font-size: var(--input-large-font-size);
} }
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
width: 130px; width: 130px;
& .el-input-number__increase, .el-input-number__decrease { & .el-input-number__increase, .el-input-number__decrease {
line-height: var(--input-small-height); line-height: calc(var(--input-small-height) - 2);
width: var(--input-small-height); width: var(--input-small-height);
font-size: var(--input-small-font-size); font-size: var(--input-small-font-size);
} }
......
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