From 8487d5ad6dbec9f183b2aacdf1572804e3c7a039 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Mon, 15 Jun 2015 20:36:49 +0800 Subject: [PATCH] update dropdown style --- package.json | 4 ++-- style/components/dropdown.less | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 11d11eae5a..5d2c615049 100644 --- a/package.json +++ b/package.json @@ -16,12 +16,12 @@ "gregorian-calendar-format": "~3.0.1", "rc-calendar": "~3.9.0", "rc-dialog": "~4.3.1", - "rc-dropdown": "~1.0.0", + "rc-dropdown": "~1.0.1", "rc-menu": "~3.3.0", "rc-progress": "~1.0.0", "rc-select": "~3.3.5", "rc-tabs": "~5.1.0", - "rc-tooltip": "~2.0.1" + "rc-tooltip": "~2.1.0" }, "devDependencies": { "babel-core": "~5.4.7", diff --git a/style/components/dropdown.less b/style/components/dropdown.less index ec66a67798..92ce74f1b7 100644 --- a/style/components/dropdown.less +++ b/style/components/dropdown.less @@ -11,6 +11,11 @@ font-weight: normal; line-height: 1.5; padding-top: 7px; + min-width: 100%; + + &-wrap { + position: relative; + } &-menu { outline: none;