diff --git a/components/select/style/multiple.less b/components/select/style/multiple.less index 0af242c378..92b32fb963 100644 --- a/components/select/style/multiple.less +++ b/components/select/style/multiple.less @@ -74,7 +74,7 @@ margin-inline-end: @input-padding-vertical-base; margin-bottom: @select-multiple-item-spacing-half; padding-inline-start: @padding-xs; - padding-inline-end: @padding-xs / 2; + padding-inline-end: (@padding-xs / 2); line-height: @select-multiple-item-height - @select-multiple-item-border-width * 2; background: @select-selection-item-bg; border: 1px solid @select-selection-item-border-color; @@ -126,9 +126,10 @@ .@{select-prefix-cls}-selection-search { position: relative; - margin-inline-start: @input-padding-horizontal-base - @input-padding-vertical-base; + max-width: 100%; margin-top: @select-multiple-item-spacing-half; margin-bottom: @select-multiple-item-spacing-half; + margin-inline-start: @input-padding-horizontal-base - @input-padding-vertical-base; &-input, &-mirror {