-
Notifications
You must be signed in to change notification settings - Fork 159
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(feature-card): fix icon position #4412
fix(feature-card): fix icon position #4412
Conversation
Fixes feature card's icon position in Safari browser, by using `<dds-feature-card-footer>` to make sure its style (that uses flex box to adjust the icon position) is in effect. Also removes the styles for the old markup structure. Refs carbon-design-system#4055.
3f238cc
to
fd7b08d
Compare
Deploy preview created for package Built with commit: 0382480a9a85bb00493447bab32326dc639f7ef4 |
Deploy preview created for package Built with commit: 0382480a9a85bb00493447bab32326dc639f7ef4 |
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! One weird thing is in feature-card-block-medium where the footer is now positioned after the card. I think this could be because of the margin being applied the component.
Good catch @ariellalgilmore - Fixed. |
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 👍 ! Thanks @asudoh!
Related Ticket(s)
Refs #4055.
Description
Fixes feature card's icon position in Safari browser, by using
<dds-feature-card-footer>
to make sure its style (that uses flex box to adjust the icon position) is in effect.Also removes the styles for the old markup structure.
Changelog
Changed
<dds-feature-card-footer>
is used.Removed