From a8c5b2af29fb7ec9aad5d34813c039618b70cee0 Mon Sep 17 00:00:00 2001 From: Gmer4Lfe Date: Sun, 31 May 2026 22:35:06 -0400 Subject: [PATCH] =?UTF-8?q?ui:=20array=20card=20=E2=80=94=202=20columns=20?= =?UTF-8?q?at=20=E2=89=A41024px,=203+=20at=20full=20width?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- Plugin/unraid/pages/monitor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugin/unraid/pages/monitor.php b/Plugin/unraid/pages/monitor.php index 9aae79c..d5d6cbe 100644 --- a/Plugin/unraid/pages/monitor.php +++ b/Plugin/unraid/pages/monitor.php @@ -1240,7 +1240,7 @@ function vvPollMonitor() { ${arrIoHtml} `; - const numCols = Math.max(3, Math.ceil(arrayDisks.length / 6)); + const numCols = window.innerWidth <= 1024 ? 2 : Math.max(3, Math.ceil(arrayDisks.length / 6)); const perCol = Math.ceil(arrayDisks.length / numCols); const cols = []; for (let i = 0; i < numCols; i++) cols.push(arrayDisks.slice(i * perCol, (i + 1) * perCol));