mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 12:15:25 +03:00
Fix height on mobile
This commit is contained in:
parent
374a78c23d
commit
184196eab3
@ -76,7 +76,7 @@ function Live() {
|
|||||||
{cameras.map((camera) => {
|
{cameras.map((camera) => {
|
||||||
let grow;
|
let grow;
|
||||||
if (camera.detect.width / camera.detect.height > 2) {
|
if (camera.detect.width / camera.detect.height > 2) {
|
||||||
grow = "md:col-span-2";
|
grow = "h-26 md:h-auto md:col-span-2";
|
||||||
} else if (camera.detect.width / camera.detect.height < 1) {
|
} else if (camera.detect.width / camera.detect.height < 1) {
|
||||||
grow = "md:row-span-2";
|
grow = "md:row-span-2";
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user