mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-11-30 02:08:12 +08:00
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:
parent
4f207b0257
commit
1794a1cf07
@ -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) {
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user