mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:48:55 +08:00
style: 修复number组件单位换行问题 (#9333)
Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>
This commit is contained in:
parent
78395d5e97
commit
5373f2377d
@ -313,7 +313,7 @@
|
||||
}
|
||||
|
||||
.#{$ns}NumberControl--withUnit {
|
||||
display: flex;
|
||||
display: flex !important;
|
||||
|
||||
&:hover {
|
||||
.#{$ns}Number,
|
||||
@ -366,11 +366,14 @@
|
||||
border-top-left-radius: 0 !important;
|
||||
border-bottom-left-radius: 0 !important;
|
||||
background-color: var(--inputNumber-base-unit-bg-color);
|
||||
min-width: var(--inputNumber-base-default-unit-width);
|
||||
min-width: var(--inputNumber-base-default-unit-width) !important;
|
||||
padding: var(--inputNumber-base-default-unit-paddingTop)
|
||||
var(--inputNumber-base-default-unit-paddingRight)
|
||||
var(--inputNumber-base-default-unit-paddingBottom)
|
||||
var(--inputNumber-base-default-unit-paddingLeft);
|
||||
.#{$ns}Select-valueWrap {
|
||||
width: auto !important;
|
||||
}
|
||||
}
|
||||
.#{$ns}NumberControl-single-unit {
|
||||
cursor: default;
|
||||
|
Loading…
Reference in New Issue
Block a user