More intelligent timeline scrolling (#10209)

* more intelligent timeline scrolling

* keep as div
This commit is contained in:
Josh Hawkins
2024-03-03 10:32:35 -06:00
committed by GitHub
parent 8645545ef4
commit 312dc95156
7 changed files with 35 additions and 22 deletions

View File

@@ -120,7 +120,7 @@ export default function LiveDashboardView({
)}
<div
className={`mt-4 grid ${layout == "grid" ? "grid-cols-2 xl:grid-cols-3 3xl:grid-cols-4" : ""} gap-2 md:gap-4 *:rounded-2xl *:bg-black`}
className={`my-4 grid ${layout == "grid" ? "grid-cols-2 xl:grid-cols-3 3xl:grid-cols-4" : ""} gap-2 md:gap-4 *:rounded-2xl *:bg-black`}
>
{cameras.map((camera) => {
let grow;