diff --git a/components/menu/demo/horizontal.md b/components/menu/demo/horizontal.md index 0d9aaf29b0..2082204b24 100755 --- a/components/menu/demo/horizontal.md +++ b/components/menu/demo/horizontal.md @@ -44,7 +44,7 @@ class App extends React.Component { Navigation Two - Navigation Three - Submenu}> + Navigation Three - Submenu}> Option 1 Option 2 diff --git a/components/menu/style/index.less b/components/menu/style/index.less index 6d3c4b2129..1b3c004300 100644 --- a/components/menu/style/index.less +++ b/components/menu/style/index.less @@ -179,10 +179,6 @@ position: absolute; border-radius: @border-radius-base; z-index: @zindex-dropdown; - - .submenu-title-wrapper { - padding-right: 20px; - } } > .@{menu-prefix-cls} { @@ -266,13 +262,12 @@ border-bottom: @border-width-base @border-style-base @border-color-split; box-shadow: none; line-height: 46px; - white-space: nowrap; > .@{menu-prefix-cls}-item, > .@{menu-prefix-cls}-submenu { position: relative; top: 1px; - display: inline-block; + float: left; border-bottom: 2px solid transparent; &:hover, diff --git a/package.json b/package.json index 124af1f2e2..0371f9080d 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "rc-editor-mention": "^1.0.2", "rc-form": "^2.1.0", "rc-input-number": "~4.0.0", - "rc-menu": "~7.2.2", + "rc-menu": "~7.0.2", "rc-notification": "~3.1.1", "rc-pagination": "~1.16.1", "rc-progress": "~2.2.2",