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

fix(Dropdown): updated styling to resolve unexpected spacing #5425

Merged
merged 2 commits into from Mar 21, 2023

Conversation

thatblindgeye
Copy link
Contributor

Closes #4894

Also updates styling in ContextSelector and OptionsMenu in case.

This approach shouldn't really require any markup changes. The alternative would be doing something more similar to Select/Menu Toggle and place some sort of wrapper inside the toggle button and either apply the styling in this PR to it (like MenuToggle), or remove the styling here and just wrap everything but the arrow icon in a wrapper so that space-between doesn't cause spacing issues (similar to Select).

@patternfly-build
Copy link

patternfly-build commented Mar 14, 2023

Copy link
Member

@srambach srambach left a comment

Choose a reason for hiding this comment

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

Looks great! ⭐

@srambach srambach merged commit 78735e1 into patternfly:v5 Mar 21, 2023
@patternfly-build
Copy link

🎉 This PR is included in version 5.0.0-alpha.35 🎉

The release is available on:

Your semantic-release bot 📦🚀

mattnolting pushed a commit to mattnolting/patternfly that referenced this pull request May 18, 2023
…fly#5425)

* fix(Dropdown): updated styling to resolve unexpected spacing

* fix(Dropdown): refactored to use gap
mattnolting pushed a commit to mattnolting/patternfly that referenced this pull request Dec 12, 2023
…fly#5425)

* fix(Dropdown): updated styling to resolve unexpected spacing

* fix(Dropdown): refactored to use gap
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.

Bug - Dropdown - justify-content value spaces dropdown toggle content unexpectedly
3 participants