Skip to content
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

Provide width and height for images #645

Merged
merged 2 commits into from
Sep 11, 2023

Conversation

stereobooster
Copy link
Contributor

Provide width and height for images to reduce layout shift.

As proposed here #644

@netlify
Copy link

netlify bot commented Sep 11, 2023

Deploy Preview for hugo-congo ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 22e1f17
🔍 Latest deploy log https://app.netlify.com/sites/hugo-congo/deploys/64feb65b0213580008718460
😎 Deploy Preview https://deploy-preview-645--hugo-congo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

This was referenced Sep 11, 2023
@jpanther
Copy link
Owner

Thanks, this change makes sense and I'm happy to merge it in. I think that image dimensions were in the theme many releases ago but it was removed in a refactor and never picked up until now.

@jpanther jpanther merged commit 5a4c8b5 into jpanther:dev Sep 11, 2023
6 checks passed
@stereobooster stereobooster deleted the provide-width-height branch September 12, 2023 08:55
@jpanther jpanther added the bug Something isn't working label Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants