mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
Better scaling for frigate+ dialog and thumbnails
This commit is contained in:
parent
90bdb07463
commit
de47f58326
@ -62,7 +62,7 @@ export function AnimatedEventCard({ event }: AnimatedEventCardProps) {
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
<div
|
||||
className="h-24 relative"
|
||||
className="h-24 4k:h-32 relative"
|
||||
style={{
|
||||
aspectRatio: aspectRatio,
|
||||
}}
|
||||
|
||||
@ -141,7 +141,7 @@ export default function SubmitPlus() {
|
||||
open={upload != undefined}
|
||||
onOpenChange={(open) => (!open ? setUpload(undefined) : null)}
|
||||
>
|
||||
<DialogContent className="md:max-w-4xl">
|
||||
<DialogContent className="md:max-w-2xl lg:max-w-3xl xl:max-w-4xl">
|
||||
<DialogHeader>
|
||||
<DialogTitle>Submit To Frigate+</DialogTitle>
|
||||
<DialogDescription>
|
||||
|
||||
@ -139,7 +139,8 @@ module.exports = {
|
||||
xs: "480px",
|
||||
"2xl": "1440px",
|
||||
"3xl": "1920px",
|
||||
"4xl": "2560px",
|
||||
"2k": "2560px",
|
||||
"4k": "3180px",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user