fix: Optimize select with search field style

This commit is contained in:
unknown 2019-07-20 21:35:01 +08:00
parent 3e62dafbfe
commit 98bafca7da

View File

@ -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