From 2b8bd3a503eb52f047dcf70c48bcef3a360efcea Mon Sep 17 00:00:00 2001 From: jinghui <181050043@qq.com> Date: Mon, 26 Oct 2026 18:55:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9B=9B=E6=A6=9C=E5=B9=B6=E5=88=97?= =?UTF-8?q?=E5=90=8E=E7=9A=84=E6=A8=AA=E5=90=91=E6=BA=A2=E5=87=BA=E4=B8=8E?= =?UTF-8?q?=E8=BF=9B=E5=BA=A6=E6=9D=A1=E8=AF=AD=E4=B9=89=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/app.js | 3 ++- public/style.css | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) 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}