Commit 4c6060dc890811de19b66cdc1b03bf54ea88286c

Authored by 梁灏
1 parent 66f807ed

fixed Select multiple mode icon style position wrong

Showing 1 changed file with 5 additions and 1 deletions   Show diff stats
src/styles/components/select.less
... ... @@ -231,6 +231,7 @@
231 231 .select-item(@select-prefix-cls, @select-item-prefix-cls);
232 232  
233 233 .@{select-prefix-cls}-multiple .@{select-item-prefix-cls} {
  234 + position: relative;
234 235 &-selected{
235 236 color: @selected-color;
236 237 background: #fff;
... ... @@ -246,10 +247,13 @@
246 247  
247 248 &-selected:after{
248 249 .ivu-icon();
249   - float: right;
  250 + //float: right;
250 251 font-size: 24px;
251 252 content: '\F3FD';
252 253 color: @selected-color;
  254 + position: absolute;
  255 + top: 2px;
  256 + right: 16px;
253 257 }
254 258 }
255 259  
... ...