-
Notifications
You must be signed in to change notification settings - Fork 1.4k
fix: update action button to use grid area to position notification badge #8409
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
Conversation
|
Build successful! 🎉 |
|
Can you run chromatic on this change? |
|
Yep, I'm gonna hold off on this PR actually after we get some more info from design. Might require an API update... |
| }, | ||
| flexShrink: 0, | ||
| order: 0 | ||
| gridArea: 'icon', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know the avatar isn't an icon but for the grid area, it effectively takes up the place of an icon
|
Build successful! 🎉 |
|
Build successful! 🎉 |
reidbarber
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Chromatic:
https://www.chromatic.com/build?appId=5f0dd5ad2b5fc10022a2e320&number=976
Some things to note:
✅ Pull Request Checklist:
📝 Test Instructions:
For Action button stories, use dev tools to add
flex-direction: columnon the flex container and set up a specific width. The action buttons should not stretch to fit the container.Also within dev tools, set a width on the action buttons and it should expand accordingly. For the notification badge, they should still positioned correctly.
🧢 Your Project: