aspect fixes

This commit is contained in:
Josh Hawkins 2025-10-31 10:33:59 -05:00
parent 6837bff801
commit af765af0d2

View File

@ -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