Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions src/components/home/ReportPopup.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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"
/>
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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));
Expand Down
Loading