From 79ef6a0664154270024da2181cbe17d3dcd0347f Mon Sep 17 00:00:00 2001 From: ddcat1115 Date: Fri, 22 Jul 2016 18:41:59 +0800 Subject: [PATCH] fix #2414 --- components/menu/style/index.less | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/components/menu/style/index.less b/components/menu/style/index.less index 54add3ebe8..f8ec6a50bc 100644 --- a/components/menu/style/index.less +++ b/components/menu/style/index.less @@ -217,6 +217,14 @@ transform: rotate(180deg) scale(0.75); } } + + &-selected { + color: @primary-color; + > a, + > a:hover { + color: @primary-color; + } + } } &-horizontal { @@ -347,6 +355,7 @@ &-dark &-item:hover, &-dark &-item-active, &-dark &-submenu-active, + &-dark &-submenu-selected, &-dark &-submenu:hover, &-dark &-submenu-title:hover { background-color: transparent; diff --git a/package.json b/package.json index c5c939ec15..089e3c8fb1 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "rc-dropdown": "~1.4.8", "rc-form": "~0.17.1", "rc-input-number": "~2.5.12", - "rc-menu": "~4.12.4", + "rc-menu": "~4.13.0", "rc-notification": "~1.3.4", "rc-pagination": "~1.5.3", "rc-progress": "~1.0.4",