From 4c6060dc890811de19b66cdc1b03bf54ea88286c Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Tue, 22 May 2018 10:54:29 +0800 Subject: [PATCH] fixed Select multiple mode icon style position wrong --- src/styles/components/select.less | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/styles/components/select.less b/src/styles/components/select.less index 1355c8b..8f32986 100644 --- a/src/styles/components/select.less +++ b/src/styles/components/select.less @@ -231,6 +231,7 @@ .select-item(@select-prefix-cls, @select-item-prefix-cls); .@{select-prefix-cls}-multiple .@{select-item-prefix-cls} { + position: relative; &-selected{ color: @selected-color; background: #fff; @@ -246,10 +247,13 @@ &-selected:after{ .ivu-icon(); - float: right; + //float: right; font-size: 24px; content: '\F3FD'; color: @selected-color; + position: absolute; + top: 2px; + right: 16px; } } -- libgit2 0.21.4