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 { &-selected-value {
float: left; float: left;
max-width: 100%; max-width: 100%;
padding-right: 20px;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
@ -377,6 +376,12 @@
padding-right: 16px; padding-right: 16px;
} }
&-selection--single {
.@{select-prefix-cls}-selection__rendered {
margin-right: 25px;
}
}
&-allow-clear &-selection--multiple &-selection__rendered, &-allow-clear &-selection--multiple &-selection__rendered,
&-show-arrow &-selection--multiple &-selection__rendered { &-show-arrow &-selection--multiple &-selection__rendered {
margin-right: 20px; // In case that clear button will overlap content margin-right: 20px; // In case that clear button will overlap content