Fix History layout for mobile portrait cameras (#20669)
Some checks are pending
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions

This commit is contained in:
Josh Hawkins 2025-10-25 19:44:06 -05:00 committed by GitHub
parent 1fb21a4dac
commit 2c480b9a89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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