-
Notifications
You must be signed in to change notification settings - Fork 361
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
StartAce: featured images stretch on the category pages #8577
Comments
Agreed, I think it's fine to keep the aspect ratio, but the image should fill the container without distortion. |
I think the 100% width was placed to combat the bug in the stack group block, but it will distort the featured image. A better workaround is just using the regular group block instead. cc @henriqueiamarino |
The repo for the theme is here: https://github.com/Automattic/theme-startace/ |
Just a note that we're phasing those out, now that all our repos are migrated to GH. |
@davewhitley I pushed a fix for this - let me know if it's working for you. |
Quick summary
Images that are landscape or horizontal will appear stretched when set as the featured image of a post, and while viewing the category archive. This might also affect any query loop on the site.
Steps to reproduce
A clear and concise description of what you expected to happen.
I would expect the image to fill the available space without distortion.
What actually happened
No response
Impact
Some (< 50%)
Available workarounds?
Yes, difficult to implement
If the above answer is "Yes...", outline the workaround.
Set the CSS object-fit of the image from
fill
tocover
Platform (Simple and/or Atomic)
No response
Logs or notes
Latest Chrome
The text was updated successfully, but these errors were encountered: