diff --git a/components/admin/screenshot-gallery.tsx b/components/admin/screenshot-gallery.tsx index ce1be96ee..b52c46bfe 100644 --- a/components/admin/screenshot-gallery.tsx +++ b/components/admin/screenshot-gallery.tsx @@ -50,22 +50,24 @@ export function ScreenshotGallery({ images, name }: { images: GalleryImage[]; na description={open !== null && images[open].altText ? images[open].altText : undefined} size="lg" className="max-w-[min(96vw,1400px)]" + bodyClassName="max-sm:px-3" testId="screenshot-gallery-dialog" > {open !== null && ( -
+ // On a phone the arrows go under the image: beside it they leave it smaller than the thumbnail. +
{count > 1 && ( - step(-1)} className="shrink-0"> + step(-1)} className="row-start-2 shrink-0 justify-self-start"> )} {alt(open)} {count > 1 && ( - step(1)} className="shrink-0"> + step(1)} className="row-start-2 shrink-0 justify-self-end"> )}