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));