Skip to content

NVR with realtime local object detection for IP cameras

Update dialog sizing for plus dialog (#11650)

Nicolas Mowen3e6b8c23bcfb
diff --git a/web/src/components/player/VideoControls.tsx b/web/src/components/player/VideoControls.tsx
index 65a37a096f..168f04fee7 100644
--- a/web/src/components/player/VideoControls.tsx
+++ b/web/src/components/player/VideoControls.tsx
@@ -331,11 +331,11 @@ function FrigatePlusUploadButton({
}}
/>
</AlertDialogTrigger>
- <AlertDialogContent className="md:max-w-[80%]">
+ <AlertDialogContent className="md:max-w-2xl lg:max-w-3xl xl:max-w-4xl">
<AlertDialogHeader>
<AlertDialogTitle>Submit this frame to Frigate+?</AlertDialogTitle>
</AlertDialogHeader>
- <img className="w-full object-contain" src={videoImg} />
+ <img className="aspect-video w-full object-contain" src={videoImg} />
<AlertDialogFooter>
<AlertDialogAction className="bg-selected" onClick={onUploadFrame}>
Submit