Ecollazos/gaud 8697 slot not center aligning#6661
Conversation
Added a new CSS rule to make the badge slot to be left aligned when the align-center attribute is true for the card component
|
Thanks for the PR! 🎉 We've deployed an automatic preview for this PR - you can see your changes here:
Note The build needs to finish before your changes are deployed. |
GZolla
left a comment
There was a problem hiding this comment.
LGTM
Tangentially related to this change, the demo for card badges seems broken apparently the stick figure image we were using is not loading, not sure if removed or if wikimedias api changed. Feels like a small separate ticket though
|
As per offline discussion earlier, we're going to wrap this change in a flag, which will require a slight change to this code to check. |
|
Looks like style linting failed - the linter probably isn't smart enough to realize what's being done here. |
|
🎉 This PR is included in version 3.221.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This addresses the issue described in GAUD-8697 where the badge slot is not being centered when the align-center attribute is true for the component.
The solution proposed was to add a new CSS rule to center the badge when the card has the align-center html attribute