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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
0319b13304
commit
f0f136f28a
@@ -478,7 +478,7 @@ function vvRenderScripts() {
|
||||
});
|
||||
|
||||
if (!filtered.length) listHtml = `<p style="color:#555;font-style:italic;font-size:12px;">${vvScriptsFilter ? 'None in this group' : 'No script logs found'}</p>`;
|
||||
html += `<div style="max-height:133px;overflow-y:auto;">${listHtml}</div>`;
|
||||
html += `<div style="max-height:133px;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;">${listHtml}</div>`;
|
||||
const el = document.getElementById('vv-scripts-body');
|
||||
if (el) el.innerHTML = html;
|
||||
}
|
||||
@@ -1250,7 +1250,7 @@ function vvPollMonitor() {
|
||||
}).join('');
|
||||
gpuProcHtml = `<div style="margin-top:6px;border-top:1px solid #2a2a2a;padding-top:6px;">
|
||||
<div style="font-size:10px;color:#555;margin-bottom:3px;">GPU processes</div>
|
||||
<div style="max-height:60px;overflow-y:auto;">${rows}</div>
|
||||
<div style="max-height:60px;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;">${rows}</div>
|
||||
</div>`;
|
||||
}
|
||||
|
||||
@@ -1338,7 +1338,7 @@ function vvPollMonitor() {
|
||||
});
|
||||
sessHtml = `<div style="margin-top:8px;border-top:1px solid #2a2a2a;padding-top:6px;">
|
||||
<div style="font-size:10px;color:#555;margin-bottom:4px;">Active transcodes <span style="color:#ff9800;font-weight:600;">${activeSessions.length}</span></div>
|
||||
<div style="max-height:57px;overflow-y:auto;overflow-x:hidden;">${rowsHtml}</div>
|
||||
<div style="max-height:57px;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;-ms-overflow-style:none;">${rowsHtml}</div>
|
||||
</div>`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user