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