Skip to content

Commit 018c289

Browse files
authored
Fix hero image width for mobile (#1448)
Fix #1438
1 parent 8a3058f commit 018c289

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/components/SponsorLogo.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const slug = tier==="Partners"? `/community-partners#sponsor-${sponsorId}`: tier
3838
src={logo}
3939
alt={`${title} Logo`}
4040
style={{
41-
minWidth: "170px",
41+
minWidth: "140px",
4242
maxHeight: "120px",
4343
objectFit: "contain",
4444
padding: logo_padding ? logo_padding : undefined,
@@ -50,7 +50,7 @@ const slug = tier==="Partners"? `/community-partners#sponsor-${sponsorId}`: tier
5050
src={logo}
5151
alt={`${title} Logo`}
5252
style={{
53-
minWidth: "170px",
53+
minWidth: "140px",
5454
maxHeight: "120px",
5555
objectFit: "contain",
5656
padding: logo_padding ? logo_padding : undefined,

src/components/sections/hero/hero.astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ const action2 = "/sponsorship/sponsor/";
125125

126126
<div
127127
class="bluebox relative flex flex-col items-center justify-center"
128-
style=""
129128
>
130129
<div class="bluebox-shift">
131130
<div class="hero-image overflow-hidden -mt-12">
@@ -136,7 +135,7 @@ const action2 = "/sponsorship/sponsor/";
136135
alt="EuroPython 2025 Conference"
137136
layout='full-width'
138137
formats={['avif', 'webp', 'jpeg']}
139-
class="max-w-5xl lg:max-w-full h-auto lg:h-full rounded-2xl shadow-xl"
138+
class="lg:max-w-full h-auto lg:h-full rounded-2xl shadow-xl"
140139
loading="eager"
141140
priority={true}
142141
/>

0 commit comments

Comments
 (0)