fix(menu-toggle): correct avatar alignment within menu-toggle #7416
Merged
Conversation
Collaborator
|
Preview: https://patternfly-pr-7416.surge.sh A11y report: https://patternfly-pr-7416-a11y.surge.sh |
2b977ae to
cbe70fe
Compare
mcoker
requested changes
Apr 8, 2025
mcoker
left a comment
Contributor
There was a problem hiding this comment.
Looking good! Next we'll need to make sure this avatar (or any large icon) doesn't change the menu toggle height. I tried this and it seemed OK but I didn't text extensively. Also it breaks plain/icon-only toggles:
.pf-v6-c-menu-toggle__icon {
margin-block-start: calc(-1 * var(--pf-v6-c-menu-toggle--PaddingBlockStart));
margin-block-end: calc(-1 * var(--pf-v6-c-menu-toggle--PaddingBlockEnd));
}
cbe70fe to
e85a8ec
Compare
Member
Member
srambach
approved these changes
Apr 22, 2025
Collaborator
|
🎉 This PR is included in version 6.3.0-prerelease.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


fixes #7410
Aligns the menu-toggle icon
imgcorrectly. Also removedpf-m-avatarmodifier.