mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 04:05:26 +03:00
Fix tall aspect ratio cameras
This commit is contained in:
parent
dc65720cba
commit
4ee539592b
@ -77,8 +77,8 @@ function Live() {
|
||||
let grow;
|
||||
if (camera.detect.width / camera.detect.height > 2) {
|
||||
grow = "aspect-wide md:col-span-2";
|
||||
} else if (camera.detect.width / camera.detect.height < 0.7) {
|
||||
grow = "aspect-tall md:row-span-2";
|
||||
} else if (camera.detect.width / camera.detect.height < 1) {
|
||||
grow = "aspect-tall md:aspect-auto md:row-span-2";
|
||||
} else {
|
||||
grow = "aspect-video";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user