Skip to content

Add aspect-ratio to img class #2012

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

Merged
merged 2 commits into from
Aug 5, 2025
Merged

Add aspect-ratio to img class #2012

merged 2 commits into from
Aug 5, 2025

Conversation

travisbeckham
Copy link
Collaborator

@travisbeckham travisbeckham commented Aug 5, 2025

With this PR the newer css property aspect-ratio is used to maintain the aspect ratio of featured blog images.

https://deploy-preview-2012--linkerdio.netlify.app/blog/

@travisbeckham travisbeckham requested a review from kflynn August 5, 2025 17:14
Copy link
Member

@kflynn kflynn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, ship it! 🙂 (Also, TIL... 😂)

@travisbeckham travisbeckham merged commit 7f30462 into main Aug 5, 2025
7 checks passed
@travisbeckham travisbeckham deleted the travis/aspect-ratio branch August 5, 2025 17:37
GTRekter pushed a commit to GTRekter/website that referenced this pull request Aug 10, 2025
Signed-off-by: Travis Beckham <[email protected]>
Signed-off-by: Ivan Porta <[email protected]>
GTRekter pushed a commit to GTRekter/website that referenced this pull request Aug 13, 2025
Signed-off-by: Travis Beckham <[email protected]>
Signed-off-by: Ivan Porta <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants