diff --git a/web/src/pages/Live.tsx b/web/src/pages/Live.tsx index f8896c021..f2776e70b 100644 --- a/web/src/pages/Live.tsx +++ b/web/src/pages/Live.tsx @@ -77,15 +77,15 @@ function Live() { )} -
+
{cameras.map((camera) => { let grow; if (camera.detect.width / camera.detect.height > 2) { - grow = "h-[424px] col-span-2"; + grow = "md:col-span-2"; } else if (camera.detect.width / camera.detect.height < 1) { - grow = "h-[840px] row-span-2"; + grow = "md:row-span-2"; } else { - grow = "h-[425px]"; + grow = "aspect-video"; } return (