assume 1 grid column by default on live dashboard (#11630)

This commit is contained in:
Josh Hawkins 2024-05-29 17:03:59 -05:00 committed by GitHub
parent 9fc22efa2d
commit 4135cabf58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -230,7 +230,7 @@ export default function LiveDashboardView({
{!cameraGroup || cameraGroup == "default" || isMobileOnly ? (
<div
className={cn(
"mt-2 grid gap-2 px-2 md:gap-4",
"mt-2 grid grid-cols-1 gap-2 px-2 md:gap-4",
mobileLayout == "grid" &&
"grid-cols-2 xl:grid-cols-3 3xl:grid-cols-4",
isMobile && "px-0",