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

Add width and height to header/featured image #2463

Merged
merged 1 commit into from
Sep 12, 2021

Conversation

jtatum
Copy link
Contributor

@jtatum jtatum commented Sep 12, 2021

Although the max width is already supplied on the div, supplying these
parameters on the image tag prevents a CSS layout shift when the browser
determines the actual dimensions of the image.

Documentation

This should not change the actual rendering of any images, so should have no documentation impacts.

Although the max width is already supplied on the div, supplying these
parameters on the image tag prevents a CSS layout shift when the browser
determines the actual dimensions of the image.
@gcushen gcushen merged commit 0c28715 into HugoBlox:main Sep 12, 2021
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