mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-06 21:44:13 +03:00
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
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:
parent
1fb21a4dac
commit
2c480b9a89
@ -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={{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user