This commit is contained in:
Josh Hawkins 2024-06-05 09:41:14 -05:00
parent 7436d8cb11
commit cb89db8c7b

View File

@ -881,10 +881,10 @@ function MotionReview({
const aspectRatio = camera.detect.width / camera.detect.height; const aspectRatio = camera.detect.width / camera.detect.height;
if (aspectRatio > 2) { if (aspectRatio > 2) {
grow = "aspect-wide"; grow = "aspect-wide";
spans = reviewCameras.length > 3 && "col-span-2"; spans = "sm:col-span-2";
} else if (aspectRatio < 1) { } else if (aspectRatio < 1) {
grow = "h-full aspect-tall"; grow = "h-full aspect-tall";
spans = "row-span-2"; spans = "md:row-span-2";
} else { } else {
grow = "aspect-video"; grow = "aspect-video";
} }