From b31fe3e1e280879074b622ffbb7a1b4b731ff1c4 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 24 Sep 2015 22:16:28 +0800 Subject: [PATCH] fix select style --- style/components/select.less | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/style/components/select.less b/style/components/select.less index 5f790a88f0..d7eeec9172 100644 --- a/style/components/select.less +++ b/style/components/select.less @@ -325,10 +325,6 @@ .selected_icon(); } - &--multiple &-menu-item { - padding: 7px 33px 7px 16px; - } - &--multiple &-menu-item-selected { .selected_icon(); } @@ -376,11 +372,13 @@ &-item { position: relative; display: block; - padding: 7px 16px; + padding: 7px 33px 7px 16px; font-weight: normal; color: #666; white-space: nowrap; cursor: pointer; + overflow: hidden; + text-overflow: ellipsis; &:first-child { border-top-left-radius: 4px;