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