Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

fix(MenuDivider): not shown when used on horizontal menus #813

Merged
merged 8 commits into from
Jan 31, 2019

Conversation

mnajdova
Copy link
Contributor

@mnajdova mnajdova commented Jan 31, 2019

This PR fixes #722 The Divider is not shown on all menus, and the margins on different menus are fixed.

image

image

divider: ({ props: { pointing, vertical, pills, underlined } }) => ({
...(pointing &&
vertical && {
marginBottom: `${pxToRem(12)}`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have agreed with @mnajdova to prevent duplication of pxToRem styles between MenuDivider and MenuItem styles

@mnajdova mnajdova merged commit fb58bd4 into master Jan 31, 2019
@layershifter layershifter deleted the fix/menu-divider-not-shown branch February 19, 2019 09:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Menu Divider doesn't work with iconOnly + horizontal menu
2 participants