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

Update 01-images.mdx #51532

Merged
merged 2 commits into from Jun 23, 2023
Merged

Update 01-images.mdx #51532

merged 2 commits into from Jun 23, 2023

Conversation

morganfeeney
Copy link
Contributor

@morganfeeney morganfeeney commented Jun 19, 2023

Due to the size of grid tracks specified in the CSS I amended the usage of the HTML sizes attribute.

The media can be ascertained from gridTemplateColumns and gridGap values, this change results in smaller images also being available in the srcset for use with sizes, which should be more performant.

Due to the size of grid tracks specified in the CSS I added complimentary usage of sizes attribute.

You can ascertain the media based on the `gridTemplateColumns` and `gridGap` values.
@kodiakhq kodiakhq bot merged commit fb79c11 into vercel:canary Jun 23, 2023
33 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants