diff --git a/components/select/style/multiple.less b/components/select/style/multiple.less index 60775ad649..9ffad70d4d 100644 --- a/components/select/style/multiple.less +++ b/components/select/style/multiple.less @@ -128,8 +128,8 @@ } // https://github.com/ant-design/ant-design/issues/22906 - &:first-child .@{select-prefix-cls}-selection-search-input { - margin-left: 6.5px; + &:first-child > .@{select-prefix-cls}-selection-search-input { + margin-left: 6.5px !important; } } diff --git a/components/select/style/rtl.less b/components/select/style/rtl.less index 82e055e66d..78dae7731d 100644 --- a/components/select/style/rtl.less +++ b/components/select/style/rtl.less @@ -94,6 +94,13 @@ left: auto; } } + + &:first-child > .@{select-prefix-cls}-selection-search-input { + .@{select-prefix-cls}-rtl& { + margin-right: 5px !important; + margin-left: 0 !important; + } + } } // ======================= Placeholder =======================