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

Use popper to align dropdown menu instead of using css with important #22640

Merged
merged 2 commits into from
May 17, 2017

Conversation

Johann-S
Copy link
Member

@Johann-S Johann-S commented May 17, 2017

Remove the use of important in css because it's a bad practice and now we have Popper 🎆
@FezVrasta any feedbacks on this PR ? And thank you for your help 👍

@FezVrasta
Copy link
Contributor

Umh, does it actually work? I thought Popper.js would freak out if you change the right: 0 property to auto

@Johann-S
Copy link
Member Author

Yes it works very well

@FezVrasta
Copy link
Contributor

Umh, I'm not so confident, but if you tested it, great.

@Johann-S
Copy link
Member Author

As you can see : https://codepen.io/Johann-S/pen/mmGrJe

@FezVrasta
Copy link
Contributor

👍

@Johann-S Johann-S merged commit b36d8ae into v4-dev May 17, 2017
@Johann-S Johann-S deleted the v4-dropdown-menu-align branch May 17, 2017 20:03
@Johann-S Johann-S added this to the v4.0.0-beta milestone May 17, 2017
@mdo mdo mentioned this pull request May 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants