Skip to content

Commit

Permalink
fix(menu): fix submenu style in dark mode (ant-design#22981)
Browse files Browse the repository at this point in the history
  • Loading branch information
AshoneA authored Apr 7, 2020
1 parent bf89f9d commit 4bfc279
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/menu/SubMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ class SubMenu extends React.Component<SubMenuProps, any> {
<RcSubMenu
{...this.props}
ref={this.saveSubMenu}
popupClassName={classNames(`${rootPrefixCls}-${antdMenuTheme}`, popupClassName)}
popupClassName={classNames(
rootPrefixCls,
`${rootPrefixCls}-${antdMenuTheme}`,
popupClassName,
)}
/>
)}
</MenuContext.Consumer>
Expand Down

0 comments on commit 4bfc279

Please sign in to comment.