From f0f136f28aae7797995277a55dd712e07179345f Mon Sep 17 00:00:00 2001 From: Gmer4Lfe Date: Sun, 31 May 2026 22:00:50 -0400 Subject: [PATCH] fix: hide scrollbars on all nested scrollable divs in monitor cards Global webkit rule now covers all descendants, not just direct children. Inline scrollbar-width:none added to the three inner overflow-y:auto divs (transcode sessions, GPU processes, scripts list) so Firefox hides them too. Co-Authored-By: Claude Sonnet 4.6 --- Plugin/unraid/css/varaverk.css | 5 ++--- Plugin/unraid/pages/monitor.php | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Plugin/unraid/css/varaverk.css b/Plugin/unraid/css/varaverk.css index 4de12f7..098c5c9 100644 --- a/Plugin/unraid/css/varaverk.css +++ b/Plugin/unraid/css/varaverk.css @@ -168,9 +168,8 @@ scrollbar-width: none; } #vv-monitor .vv-card > div::-webkit-scrollbar { display: none; } -/* Scripts inner list div has its own overflow — hide its scrollbar too */ -#vv-scripts-body > div { scrollbar-width: none; -ms-overflow-style: none; } -#vv-scripts-body > div::-webkit-scrollbar { display: none; } +/* Hide scrollbars on any nested scrollable div inside monitor cards */ +#vv-monitor .vv-card div::-webkit-scrollbar { display: none; } /* Dynamic row heights capped per screen tier — rows size to content, never exceed the cap. minmax(0, Xpx): track is content-driven but capped; align-items:stretch makes all cards diff --git a/Plugin/unraid/pages/monitor.php b/Plugin/unraid/pages/monitor.php index fe3215e..ec2318a 100644 --- a/Plugin/unraid/pages/monitor.php +++ b/Plugin/unraid/pages/monitor.php @@ -478,7 +478,7 @@ function vvRenderScripts() { }); if (!filtered.length) listHtml = `

${vvScriptsFilter ? 'None in this group' : 'No script logs found'}

`; - html += `
${listHtml}
`; + html += `
${listHtml}
`; const el = document.getElementById('vv-scripts-body'); if (el) el.innerHTML = html; } @@ -1250,7 +1250,7 @@ function vvPollMonitor() { }).join(''); gpuProcHtml = `
GPU processes
-
${rows}
+
${rows}
`; } @@ -1338,7 +1338,7 @@ function vvPollMonitor() { }); sessHtml = `
Active transcodes ${activeSessions.length}
-
${rowsHtml}
+
${rowsHtml}
`; }