From 5079f96a75bf26dc46c159abdc0695e373019121 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 14 Nov 2026 17:42:13 +1100 Subject: [PATCH] [UI] Size the detail image modal to the viewport (#13264) (#13278) Clicking a detail image opened it at Mantine's default modal width (about 440 px), so a large image was shown no bigger than the preview. Open the modal at 90vw and cap the image at 85vh so it fits the window. Fixes #13252 (cherry picked from commit ed0bbc3c753a34f8973fd6cd97f8ded71d7d47e5) Co-authored-by: jbc-af Co-authored-by: jbc-af Co-authored-by: Oliver --- src/frontend/src/components/details/DetailsImage.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontend/src/components/details/DetailsImage.tsx b/src/frontend/src/components/details/DetailsImage.tsx index 5c13e9c2bf..2f5a964c71 100644 --- a/src/frontend/src/components/details/DetailsImage.tsx +++ b/src/frontend/src/components/details/DetailsImage.tsx @@ -430,7 +430,8 @@ export function DetailsImage(props: Readonly) { const expandImage = (event: any) => { cancelEvent(event); modals.open({ - children: , + children: , + size: '90vw', withCloseButton: false }); };