fix: 四榜并列后的横向溢出与进度条语义说明

This commit is contained in:
jinghui committed 2026-10-26 18:55:05 +08:00
1 parent 743a41c0e7
commit 2b8bd3a503
2 files changed
+5 -2

No files matched your search

+2 -1
View File
@@ -278,7 +278,8 @@ async function renderApps(silent) {
<div class="top-head"><b>运行时长 Top 5</b><span class="muted">连续运行</span></div>
${topRun.map((a, i) => topRow(a, i, `${fmtDurCompact(a.runMs)} <small>${a.running}/${a.total}</small>`, (a.runMs / maxRun) * 100, 'run')).join('') || '<div class="empty sm">暂无数据</div>'}
</div>
</div>`;
</div>
<div class="top-note">进度条长度按各榜第一名的值等比缩放,不是占整机比例</div>`;
const insItems = (ins && ins.items) || [];
const shownIns = state.insightOpen ? insItems : insItems.slice(0, 4);