Input-Number: fixed multi-size component border overflow, tested on chrome 60, canary, chromium, safari, firefox (#6310)

pull/6557/head
jeremywu 2017-08-05 16:06:36 +08:00 committed by baiyaaaaa
parent 84f8168783
commit 1ba66276c3
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@
width: 200px;
& .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);
font-size: var(--input-large-font-size);
}
@ -78,7 +78,7 @@
width: 130px;
& .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);
font-size: var(--input-small-font-size);
}