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

🐛 increase the resolution of homepage intro primary thumbnails #3700

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

ikesau
Copy link
Member

@ikesau ikesau commented Jun 10, 2024

Fixes #3698

All HomepageIntro thumbnails were using images with containerType: "thumbnail" which sets the source sizes attribute to 350px, which was inaccurate for the primary tile.

This PR fixes that by setting the containerType for the primary tile to be span6, which will correctly calculate the width of the image and load a sufficiently hi-res image for any given screen width/DPI

thumbnails.mp4

@ikesau ikesau requested a review from marcelgerber June 10, 2024 13:22
@ikesau ikesau self-assigned this Jun 10, 2024
Copy link
Member

@marcelgerber marcelgerber left a comment

Choose a reason for hiding this comment

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

Neat!

@ikesau ikesau merged commit 6002b04 into master Jun 10, 2024
21 of 23 checks passed
@ikesau ikesau deleted the homepage-thumbnail-size branch June 10, 2024 14:29
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.

Images sometimes render blurry
2 participants