From 80e802dcbd7383e40e4389527ea908b8abd01b1a Mon Sep 17 00:00:00 2001 From: Niko Date: Tue, 15 Jul 2025 19:04:42 +0200 Subject: [PATCH 1/2] Fix hero image width for mobile --- src/components/sections/hero/hero.astro | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/sections/hero/hero.astro b/src/components/sections/hero/hero.astro index 26d853e65..bc8f1ef1c 100644 --- a/src/components/sections/hero/hero.astro +++ b/src/components/sections/hero/hero.astro @@ -125,7 +125,6 @@ const action2 = "/sponsorship/sponsor/";
@@ -136,7 +135,7 @@ const action2 = "/sponsorship/sponsor/"; alt="EuroPython 2025 Conference" layout='full-width' formats={['avif', 'webp', 'jpeg']} - class="max-w-5xl lg:max-w-full h-auto lg:h-full rounded-2xl shadow-xl" + class="lg:max-w-full h-auto lg:h-full rounded-2xl shadow-xl" loading="eager" priority={true} /> From 24b07d8ea6d7f6fc936cc2cad97e5986659c004a Mon Sep 17 00:00:00 2001 From: Niko Date: Wed, 16 Jul 2025 11:13:11 +0200 Subject: [PATCH 2/2] Update style for overflow elements --- src/components/SponsorLogo.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/SponsorLogo.astro b/src/components/SponsorLogo.astro index 01430bdff..4bcbdf2c9 100644 --- a/src/components/SponsorLogo.astro +++ b/src/components/SponsorLogo.astro @@ -38,7 +38,7 @@ const slug = tier==="Partners"? `/community-partners#sponsor-${sponsorId}`: tier src={logo} alt={`${title} Logo`} style={{ - minWidth: "170px", + minWidth: "140px", maxHeight: "120px", objectFit: "contain", padding: logo_padding ? logo_padding : undefined, @@ -50,7 +50,7 @@ const slug = tier==="Partners"? `/community-partners#sponsor-${sponsorId}`: tier src={logo} alt={`${title} Logo`} style={{ - minWidth: "170px", + minWidth: "140px", maxHeight: "120px", objectFit: "contain", padding: logo_padding ? logo_padding : undefined,