Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move MoreMenu-specific styling away from Popover CSS #9069

Merged
merged 2 commits into from
Aug 17, 2018

Conversation

jasmussen
Copy link
Contributor

This PR was graciously written by @noisysocks, to fix a regression I introduced in #8756. It was done, and Robert was opening the PR as I came online without enough coffee and thought the fix should be slightly different to what Robert was proposing. As is so often the case, he was right all along. My thanks to Robert for fixing this.

In #8756, the change was made to the popover component in order to let all menus using this component grow and shrink as necessary. However with the addition of a whitespace rule, this only really made sense for menu items inside popovers, not all popovers. This PR moves things around to be where they're supposed to be.

Roberts original text:

Moves CSS rules that are specific to styling the MoreMenu component out
of the Popover CSS file and into the MoreMenu's CSS file. This fixes
DotTips from appearing too narrow, and should prevent other components
that use Popover from being inadvertently styled differently.

Moves CSS rules that are specific to styling the MoreMenu component out
of the Popover CSS file and into the MoreMenu's CSS file. This fixes
DotTips from appearing too narrow, and should prevent other components
that use Popover from being inadvertently styled differently.
@jasmussen jasmussen added the [Type] Bug An existing feature does not function as intended label Aug 17, 2018
@jasmussen jasmussen self-assigned this Aug 17, 2018
@youknowriad youknowriad added this to the 3.6 milestone Aug 17, 2018
Copy link
Contributor

@youknowriad youknowriad left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@youknowriad youknowriad merged commit 22ff514 into master Aug 17, 2018
@mtias mtias deleted the fix/popover-width branch August 17, 2018 09:47
@noisysocks
Copy link
Member

Thanks for wrangling this @jasmussen! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants