mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-01 03:18:16 +08:00
Select 样式调整,支持超出换行
This commit is contained in:
parent
b76f6de84c
commit
e0bbd65cd1
@ -7,7 +7,7 @@
|
||||
border: $Form-select-borderWidth solid $Form-select-borderColor;
|
||||
background: $Form-select-bg;
|
||||
border-radius: $Form-select-borderRadius;
|
||||
height: $Form-selectOption-height;
|
||||
min-height: $Form-selectOption-height;
|
||||
$paddingY: (
|
||||
$Form-selectOption-height - $Form-input-lineHeight * $Form-input-fontSize -
|
||||
$Form-select-borderWidth * 2
|
||||
@ -36,6 +36,7 @@
|
||||
position: relative;
|
||||
flex-grow: 1;
|
||||
line-height: 1;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
&-placeholder {
|
||||
@ -46,7 +47,7 @@
|
||||
|
||||
&-value {
|
||||
line-height: $Form-input-lineHeight * $Form-input-fontSize;
|
||||
white-space: nowrap;
|
||||
// white-space: nowrap;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
Loading…
Reference in New Issue
Block a user