mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-10 00:07:21 -06:00
Fix History layout for mobile portrait cameras (#20669)
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…
x
Reference in New Issue
Block a user