diff --git a/public/app.js b/public/app.js index 6baacee..84bd1c6 100644 --- a/public/app.js +++ b/public/app.js @@ -278,7 +278,8 @@ async function renderApps(silent) {
运行时长 Top 5连续运行
${topRun.map((a, i) => topRow(a, i, `${fmtDurCompact(a.runMs)} ${a.running}/${a.total}`, (a.runMs / maxRun) * 100, 'run')).join('') || '
暂无数据
'} - `; + +
进度条长度按各榜第一名的值等比缩放,不是占整机比例
`; const insItems = (ins && ins.items) || []; const shownIns = state.insightOpen ? insItems : insItems.slice(0, 4); diff --git a/public/style.css b/public/style.css index 4dd2675..117317e 100644 --- a/public/style.css +++ b/public/style.css @@ -4,7 +4,7 @@ --radius:10px; --shadow:0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.06); } *{box-sizing:border-box} -html,body{margin:0;height:100%} +html,body{overflow-x:hidden;margin:0;height:100%} body{background:var(--bg);color:var(--text);font:14px/1.5 -apple-system,"PingFang SC","Microsoft YaHei",Segoe UI,Roboto,sans-serif} .app{display:flex;height:100vh;overflow:hidden} a{color:var(--blue);text-decoration:none;cursor:pointer} @@ -314,3 +314,5 @@ table.tb th.num{text-align:right} .trend-card:nth-child(3) .tc-now{color:#7a5af8} .tc-foot{font-size:11px;color:#8b95a5;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} .tf-chart{width:100%;height:112px;display:block} + +.top-note{font-size:11px;color:#9aa4b5;margin:-6px 0 12px 2px}