style(theme-chalk): [input-number] fix controlled comps style (#10639)

style(theme-chalk): fix controlled comps style

Co-authored-by: qiang <qw13131wang@gmail.com>
This commit is contained in:
MARIOMARUI 2024-08-13 11:46:23 +08:00 committed by GitHub
parent 4f207b0257
commit 1794a1cf07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -153,6 +153,7 @@
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
padding: 0 10px; padding: 0 10px;
vertical-align: middle
} }
@include when(active) { @include when(active) {

View File

@ -9,6 +9,7 @@
display: inline-flex; display: inline-flex;
width: map.get($input-number-width, 'default'); width: map.get($input-number-width, 'default');
line-height: #{map.get($input-height, 'default') - 2}; line-height: #{map.get($input-height, 'default') - 2};
vertical-align: middle;
.#{$namespace}-input { .#{$namespace}-input {
&__wrapper { &__wrapper {