From 1e907e9b7252f1a130eb907b688aef1b63e88e0d Mon Sep 17 00:00:00 2001 From: Malin J Date: Tue, 5 Dec 2023 14:10:07 +0100 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=92=84=20add=20sizes=20for=20teaser?= =?UTF-8?q?=20component=20#1997?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/pageComponents/shared/Teaser.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/pageComponents/shared/Teaser.tsx b/web/pageComponents/shared/Teaser.tsx index 7590023c4..160ad42f7 100644 --- a/web/pageComponents/shared/Teaser.tsx +++ b/web/pageComponents/shared/Teaser.tsx @@ -39,6 +39,7 @@ const TeaserImage = ({ image }: { image: ImageWithAlt }) => { style={{ objectFit: 'cover' }} fill role={image?.isDecorative ? 'presentation' : undefined} + sizes="(max-width: 720px)" /> )} From c284c1367480eda4651aa76787a7fe779122238f Mon Sep 17 00:00:00 2001 From: Malin J Date: Mon, 11 Dec 2023 13:49:43 +0100 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=92=84=20Add=20sizes=20#1997?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/pageComponents/shared/Teaser.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/pageComponents/shared/Teaser.tsx b/web/pageComponents/shared/Teaser.tsx index 160ad42f7..5faa058d0 100644 --- a/web/pageComponents/shared/Teaser.tsx +++ b/web/pageComponents/shared/Teaser.tsx @@ -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" /> )} From 517ed0d88d2c32b86d5ac1a9a7702657a09adfd3 Mon Sep 17 00:00:00 2001 From: Malin J Date: Mon, 18 Dec 2023 13:39:25 +0100 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=92=84=20Small=20pixel=20change=20#19?= =?UTF-8?q?97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/pageComponents/shared/Teaser.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/pageComponents/shared/Teaser.tsx b/web/pageComponents/shared/Teaser.tsx index 5faa058d0..31bbedeb7 100644 --- a/web/pageComponents/shared/Teaser.tsx +++ b/web/pageComponents/shared/Teaser.tsx @@ -39,7 +39,7 @@ const TeaserImage = ({ image }: { image: ImageWithAlt }) => { style={{ objectFit: 'cover' }} fill role={image?.isDecorative ? 'presentation' : undefined} - sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw" + sizes="(max-width: 750px) 100vw, (max-width: 1200px) 50vw" /> )}