diff --git a/src/components/home/ReportPopup.astro b/src/components/home/ReportPopup.astro index 0666df7f..b6089a8b 100644 --- a/src/components/home/ReportPopup.astro +++ b/src/components/home/ReportPopup.astro @@ -35,7 +35,7 @@ const live = isReportPopupLive(); src="/images/wikipedia-report/influence-map.webp" width="1300" height="1196" - alt="Map of who is trying to shape what AI learns through Wikipedia" + alt="Simplified map of the pro-Israel influence campaign: who is trying to shape what AI learns through Wikipedia" fetchpriority="low" decoding="async" /> @@ -121,12 +121,15 @@ const live = isReportPopupLive(); .rp-close:hover { background: #fff; } + /* The whole map, never cropped: capped in height so the title and button + still fit on short screens, letterboxed on white (the map's own ground). */ .rp-image { display: block; width: 100%; - height: 180px; - object-fit: cover; - background: #f2f3ee; + height: auto; + max-height: 48dvh; + object-fit: contain; + background: #fff; } .rp-body { @@ -211,7 +214,7 @@ const live = isReportPopupLive(); border-radius: 24px 24px 0 0; } .rp-image { - height: 140px; + max-height: 40dvh; } .rp-body { padding: 20px 20px calc(20px + env(safe-area-inset-bottom));