mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
fix: Optimize select with search field style
This commit is contained in:
parent
3e62dafbfe
commit
98bafca7da
@ -103,7 +103,6 @@
|
||||
&-selected-value {
|
||||
float: left;
|
||||
max-width: 100%;
|
||||
padding-right: 20px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
@ -377,6 +376,12 @@
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
&-selection--single {
|
||||
.@{select-prefix-cls}-selection__rendered {
|
||||
margin-right: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
&-allow-clear &-selection--multiple &-selection__rendered,
|
||||
&-show-arrow &-selection--multiple &-selection__rendered {
|
||||
margin-right: 20px; // In case that clear button will overlap content
|
||||
|
Loading…
Reference in New Issue
Block a user