Skip to content

Commit 4d0cca2

Browse files
author
liyuan-meng
committed
✨[InputNumber]修改样式
1 parent 9682995 commit 4d0cca2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/components/input-number/index.less

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,9 @@
242242
text-align: center;
243243
background-color: #fafafa;
244244
border: 1px solid #e8e8e8;
245-
height: 30px;
245+
height: 32px;
246246
line-height: 30px;
247+
box-sizing: border-box;
247248
}
248249

249250
.@{input-number-prefix-cls} {
@@ -274,14 +275,14 @@
274275

275276
&.small {
276277
.add-on {
277-
height: 26px;
278+
height: 28px;
278279
line-height: 26px;
279280
}
280281
}
281282

282283
&.large {
283284
.add-on {
284-
height: 34px;
285+
height: 36px;
285286
line-height: 34px;
286287
}
287288
}

0 commit comments

Comments
 (0)