mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 12:15:25 +03:00
Don't use grid at all for single column
This commit is contained in:
parent
3480bcfe1e
commit
374a78c23d
@ -72,7 +72,7 @@ function Live() {
|
|||||||
</ScrollArea>
|
</ScrollArea>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<div className="mt-4 grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 3xl:grid-cols-4 gap-4">
|
<div className="mt-4 md:grid md:grid-cols-2 xl:grid-cols-3 3xl:grid-cols-4 gap-4">
|
||||||
{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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user