From 0df8baefcebe330bc86a803f80ffd7435706cc6d Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 19 Jan 2016 18:01:21 +0800 Subject: [PATCH] fix cascader overlay width --- style/components/cascader.less | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/style/components/cascader.less b/style/components/cascader.less index 7bb63d0d6a..3346634d7e 100644 --- a/style/components/cascader.less +++ b/style/components/cascader.less @@ -66,6 +66,8 @@ border: 1px solid @border-color-base; border-radius: @border-radius-base; box-shadow: @box-shadow-base; + white-space: nowrap; + height: 180px; &-hidden { display: none; } @@ -88,7 +90,7 @@ } } &-menu { - float: left; + display: inline-block; min-width: 111px; height: 180px; list-style: none;