Skip to content

Commit

Permalink
Fix Menu[dark] item background, close #4414 again
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Dec 30, 2016
1 parent 35d91d8 commit 662b213
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions components/menu/demo/horizontal.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
order: 0
title:
title:
zh-CN: 顶部导航
en-US: Top Navigation
---
Expand Down Expand Up @@ -32,7 +32,9 @@ const App = React.createClass({
},
render() {
return (
<Menu onClick={this.handleClick}
<Menu
theme="dark"
onClick={this.handleClick}
selectedKeys={[this.state.current]}
mode="horizontal"
>
Expand Down
2 changes: 1 addition & 1 deletion components/menu/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@
}
}

&-dark &-item-selected {
&&-dark &-item-selected {
background-color: transparent;
}

Expand Down

0 comments on commit 662b213

Please sign in to comment.