-
Notifications
You must be signed in to change notification settings - Fork 43
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
Post Carousel: Tweak image width styles to not affect avatars #792
Conversation
@dkoo I've specifically requested your review because I noticed you added these styles -- I want to make sure they're not serving some purpose for the avatars that I'm missing. Thanks! |
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.
This works as described, thanks!
Thanks Derrick! |
## [1.29.2-alpha.1](v1.29.1...v1.29.2-alpha.1) (2021-07-13) ### Bug Fixes * correct path to placeholder image ([#791](#791)) ([e4f1e47](e4f1e47)) * height of post carousel blocks in editor preview ([fc69708](fc69708)) * make carousel slide image width styles more specific ([#792](#792)) ([9cc4bd1](9cc4bd1)) * override the default carousel arrows from swiper ([#794](#794)) ([2e4e735](2e4e735))
🎉 This PR is included in version 1.29.2-alpha.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
## [1.29.2](v1.29.1...v1.29.2) (2021-07-13) ### Bug Fixes * correct path to placeholder image ([#791](#791)) ([e4f1e47](e4f1e47)) * height of post carousel blocks in editor preview ([fc69708](fc69708)) * make carousel slide image width styles more specific ([#792](#792)) ([9cc4bd1](9cc4bd1)) * override the default carousel arrows from swiper ([#794](#794)) ([2e4e735](2e4e735))
🎉 This PR is included in version 1.29.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
All Submissions:
Changes proposed in this Pull Request:
This PR makes some image sizing styles in the Post Carousel block more specific, so they're only picked up by the post thumbnail, and not the avatar.
I noticed the styles are fine when the block is out of the box, but when I try to scale down the avatar for the new widget spaces in WordPress 5.8, the avatar placement gets a bit weird (it's not perfectly square; it can overlap the byline).
How to test the changes in this Pull Request:
npm run build
.left: 8px
positioning).Other information: