From 8b533c063508b6ccab377f28d4b7765305c3c53e Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 23 Jul 2019 14:47:35 +0800 Subject: [PATCH] solve the duplicate of selector --- components/select/style/index.less | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/components/select/style/index.less b/components/select/style/index.less index ca87e1b629..5d6cf447ae 100644 --- a/components/select/style/index.less +++ b/components/select/style/index.less @@ -147,6 +147,9 @@ position: relative; height: @input-height-base; cursor: pointer; + .@{select-prefix-cls}-selection__rendered { + margin-right: 25px; + } } &-selection__rendered { @@ -376,12 +379,6 @@ 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