-
Notifications
You must be signed in to change notification settings - Fork 97
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
style(card): 🎨 fixing img with overflow "top" not getting correct top padding #2015
Conversation
… padding Adding padding-top to img tag when the element has a header and a slotted image with an overflow of top. Padding-top will be set to pfe-local(spacing);
🦋 Changeset detectedLatest commit: 9caed6a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for patternfly-elements ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
FYI, the https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#type |
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.
Please add a changeset
Padding looks good to me! |
Adding css for the pfe-card when the image overflow is set to top and the card has a header present.
Added the changeset @bennypowers |
Adding padding-top to img tag when the element has a header and a slotted image with an overflow of top. Padding-top will be set to pfe-local(spacing);
Padding in imaged card demo not correct for images with overflow="top"
Related issues
What has changed and why
Added css to the pfe-card.scss
Testing instructions
Update can be viewed in the pfe-card demo page.