From 733307d3defd2eded19f0122b071ac40bb7b0d35 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 19 Aug 2015 18:59:08 +0800 Subject: [PATCH] Fix menu hover background --- style/components/menu.less | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/style/components/menu.less b/style/components/menu.less index aa65ddd86..f74a19b61 100644 --- a/style/components/menu.less +++ b/style/components/menu.less @@ -214,6 +214,15 @@ } } + &-vertical, &-horizontal { + .@{menuPrefixCls}-item:first-child { + border-radius: @border-radius-base @border-radius-base 0 0; + } + .@{menuPrefixCls}-item:last-child { + border-radius: 0 0 @border-radius-base @border-radius-base; + } + } + &-vertical&-sub { padding: 0; }