From 3b724b39aaaefb44a236e6dff07ec6e077118446 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 7 Jan 2016 20:58:13 +0800 Subject: [PATCH] make cascader item size autofit --- style/components/cascader.less | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/style/components/cascader.less b/style/components/cascader.less index 39a0a1fffb..7bb63d0d6a 100644 --- a/style/components/cascader.less +++ b/style/components/cascader.less @@ -89,7 +89,7 @@ } &-menu { float: left; - width: 111px; + min-width: 111px; height: 180px; list-style: none; margin: 0; @@ -102,9 +102,7 @@ } } &-menu-item { - height: 32px; - line-height: 32px; - padding: 0 16px; + padding: 7px 16px; cursor: pointer; white-space: nowrap; overflow: hidden;