From 3e89997ab5a8912bd3d0184cb602e7455611d1d3 Mon Sep 17 00:00:00 2001 From: Gmer4Lfe Date: Sun, 31 May 2026 22:18:49 -0400 Subject: [PATCH] =?UTF-8?q?ui:=20transcode=20sessions=20=E2=80=94=20all=20?= =?UTF-8?q?items=20in=202-col=20layout,=20hidden=20scroll=20beyond=202=20r?= =?UTF-8?q?ows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removes the 4-item cap and +N more label. All sessions go into balanced columns; the container max-height clips to 2 rows with a hidden scrollbar. Co-Authored-By: Claude Sonnet 4.6 --- Plugin/unraid/pages/monitor.php | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/Plugin/unraid/pages/monitor.php b/Plugin/unraid/pages/monitor.php index 7e5d29e..add9a31 100644 --- a/Plugin/unraid/pages/monitor.php +++ b/Plugin/unraid/pages/monitor.php @@ -1335,19 +1335,17 @@ function vvPollMonitor() { ${meth} `; } - const shown = activeSessions.slice(0, 4); - const mid = Math.ceil(shown.length / 2); - const colA = shown.slice(0, mid).map(vvTcRow).join(''); - const colB = shown.slice(mid).map(vvTcRow).join(''); + const mid = Math.ceil(activeSessions.length / 2); + const colA = activeSessions.slice(0, mid).map(vvTcRow).join(''); + const colB = activeSessions.slice(mid).map(vvTcRow).join(''); const colBDiv = colB ? `
${colB}
` : ''; - const overflow = activeSessions.length > 4 - ? `
+${activeSessions.length - 4} more
` - : ''; sessHtml = `
Active transcodes ${activeSessions.length}
-
-
${colA}
${colBDiv} -
${overflow} +
+
+
${colA}
${colBDiv} +
+
`; }