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

Teaser component image is not optmized #1997 #2011

Merged
3 commits merged into from
Jan 22, 2024
Merged

Teaser component image is not optmized #1997 #2011

3 commits merged into from
Jan 22, 2024

Conversation

millianapia
Copy link
Contributor

No description provided.

@millianapia millianapia requested a review from a team as a code owner December 5, 2023 13:14
@millianapia millianapia self-assigned this Dec 5, 2023
@@ -39,6 +39,7 @@ const TeaserImage = ({ image }: { image: ImageWithAlt }) => {
style={{ objectFit: 'cover' }}
fill
role={image?.isDecorative ? 'presentation' : undefined}
sizes="(max-width: 720px)"
Copy link
Contributor

Choose a reason for hiding this comment

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

this is equivalent to:

@media (max-width: 720px) {
// empty
}

which doesn't change anything 😬

@fernandolucchesi fernandolucchesi closed this pull request by merging all changes into main in bacab97 Jan 22, 2024
@millianapia millianapia deleted the malj/1997 branch February 15, 2024 15:47
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