From f540b1c201b4cde580f3a2fde9636b66fd65a1da Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 27 Jan 2016 15:26:39 +0800 Subject: [PATCH] fix(cascader): empty menu style --- package.json | 4 ++-- style/components/cascader.less | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 24bebf808f..5de37e75b5 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "object-assign": "~4.0.1", "rc-animate": "~2.0.2", "rc-calendar": "~5.3.0", - "rc-cascader": "~0.8.0", + "rc-cascader": "~0.8.1", "rc-checkbox": "~1.2.0", "rc-collapse": "~1.4.4", "rc-dialog": "~5.3.1", @@ -171,4 +171,4 @@ "path": "./node_modules/cz-conventional-changelog" } } -} \ No newline at end of file +} diff --git a/style/components/cascader.less b/style/components/cascader.less index 6c0897461c..e204a50ca2 100644 --- a/style/components/cascader.less +++ b/style/components/cascader.less @@ -69,6 +69,7 @@ box-shadow: @box-shadow-base; white-space: nowrap; height: 180px; + &-empty, &-hidden { display: none; }