mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-11 17:47:37 +03:00
aspect fixes
This commit is contained in:
parent
6837bff801
commit
af765af0d2
@ -281,13 +281,13 @@ export function TrackingDetails({
|
|||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
"relative flex items-center justify-center",
|
"relative flex items-center justify-center",
|
||||||
isDesktop && "flex-[3]",
|
|
||||||
cameraAspect === "wide"
|
cameraAspect === "wide"
|
||||||
? "aspect-wide w-full"
|
? "w-full flex-1"
|
||||||
: cameraAspect === "tall"
|
: cameraAspect === "tall"
|
||||||
? "aspect-tall max-h-[60vh]"
|
? "max-h-[50dvh] lg:max-h-[70dvh]"
|
||||||
: "aspect-video w-full",
|
: isDesktop && "w-full flex-[3]",
|
||||||
)}
|
)}
|
||||||
|
style={{ aspectRatio: aspectRatio }}
|
||||||
ref={containerRef}
|
ref={containerRef}
|
||||||
>
|
>
|
||||||
<HlsVideoPlayer
|
<HlsVideoPlayer
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user