mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
fix: Optimize select with search field style
This commit is contained in:
parent
3e62dafbfe
commit
98bafca7da
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user