From eb5d985daaf052299d0a588d3ec1d59fe7053d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B3=D0=BE=D1=80=D1=8C=20=D0=92=D0=BB=D0=B0=D0=B4?= =?UTF-8?q?=D0=B8=D0=BC=D0=B8=D1=80=D0=BE=D0=B2=D0=B8=D1=87?= Date: Mon, 16 Mar 2026 12:21:51 +1100 Subject: [PATCH] revert grid fixes --- web/src/views/live/DraggableGridLayout.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/views/live/DraggableGridLayout.tsx b/web/src/views/live/DraggableGridLayout.tsx index 1f75c2fc4..a37a606f0 100644 --- a/web/src/views/live/DraggableGridLayout.tsx +++ b/web/src/views/live/DraggableGridLayout.tsx @@ -359,7 +359,7 @@ export default function DraggableGridLayout({ // subtract container margin, 1 camera takes up at least 4 rows // account for additional margin on bottom of each row return ( - ((availableWidth || window.innerWidth) - 2 * marginValue) / + ((availableWidth ?? window.innerWidth) - 2 * marginValue) / 12 / aspectRatio - marginValue + @@ -710,9 +710,9 @@ export default function DraggableGridLayout({ currentGroups={groups} activeGroup={group} /> - {containerWidth > 0 && ); })} - } + {isDesktop && (