Update dialog sizing for plus dialog (#11650)

This commit is contained in:
Nicolas Mowen 2024-05-30 08:26:15 -06:00 committed by GitHub
parent 1c5e7ebb48
commit 3e6b8c23bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -331,11 +331,11 @@ function FrigatePlusUploadButton({
}} }}
/> />
</AlertDialogTrigger> </AlertDialogTrigger>
<AlertDialogContent className="md:max-w-[80%]"> <AlertDialogContent className="md:max-w-2xl lg:max-w-3xl xl:max-w-4xl">
<AlertDialogHeader> <AlertDialogHeader>
<AlertDialogTitle>Submit this frame to Frigate+?</AlertDialogTitle> <AlertDialogTitle>Submit this frame to Frigate+?</AlertDialogTitle>
</AlertDialogHeader> </AlertDialogHeader>
<img className="w-full object-contain" src={videoImg} /> <img className="aspect-video w-full object-contain" src={videoImg} />
<AlertDialogFooter> <AlertDialogFooter>
<AlertDialogAction className="bg-selected" onClick={onUploadFrame}> <AlertDialogAction className="bg-selected" onClick={onUploadFrame}>
Submit Submit