Fix History layout for mobile portrait cameras (#20669)

This commit is contained in:
Josh Hawkins
2025-10-25 19:44:06 -05:00
committed by GitHub
parent 1fb21a4dac
commit 2c480b9a89

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