Skip to content

Commit

Permalink
fix: add subMenu style (#102)
Browse files Browse the repository at this point in the history
* add subMenu style

* Update SubMenu.jsx

* Update SubMenu.jsx
  • Loading branch information
jljsj33 authored and benjycui committed Sep 29, 2017
1 parent 423dd7b commit 0057efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SubMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ const SubMenu = createReactClass({
style.paddingLeft = props.inlineIndent * props.level;
}
return (
<li className={classnames(classes)} {...mouseEvents}>
<li className={classnames(classes)} {...mouseEvents} style={props.style}>
<div
style={style}
className={`${prefixCls}-title`}
Expand Down

0 comments on commit 0057efa

Please sign in to comment.