Fix History layout for mobile portrait cameras

This commit is contained in:
Josh Hawkins 2025-10-25 18:48:50 -05:00
parent 1fb21a4dac
commit 204441b2bd

View File

@ -710,13 +710,12 @@ export function RecordingView({
? "h-full"
: "w-full"
: cn(
"flex-shrink-0 pt-2",
"flex-shrink-0 portrait:w-full landscape:h-full",
mainCameraAspect == "wide"
? "aspect-wide"
: mainCameraAspect == "tall"
? "aspect-tall"
? "aspect-tall portrait:h-full"
: "aspect-video",
"portrait:w-full landscape:h-full",
),
)}
style={{