Skip to content

Commit

Permalink
πŸ’„ Add sizes #1997
Browse files Browse the repository at this point in the history
  • Loading branch information
millianapia committed Dec 11, 2023
1 parent 1e907e9 commit c284c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/pageComponents/shared/Teaser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const TeaserImage = ({ image }: { image: ImageWithAlt }) => {
style={{ objectFit: 'cover' }}
fill
role={image?.isDecorative ? 'presentation' : undefined}
sizes="(max-width: 720px)"
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw"
/>
)}
</>
Expand Down

0 comments on commit c284c13

Please sign in to comment.