From 3b26816385c54ff5cb204f984cbddcf7ff9d1099 Mon Sep 17 00:00:00 2001 From: qinglong Date: Sun, 14 Jun 2026 08:45:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9B=BE=E8=A1=A8=E6=94=BE=E5=A4=A7=201?= =?UTF-8?q?40x36=E2=86=92200x48=20+=20=E8=A1=8C=E9=AB=9848px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/sentinel/dashboard.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/sentinel/dashboard.html b/plugins/sentinel/dashboard.html index 8cfdf6b..4a2a111 100644 --- a/plugins/sentinel/dashboard.html +++ b/plugins/sentinel/dashboard.html @@ -56,14 +56,14 @@ .node-notes { font-size:.75rem; color:var(--text-dim); font-style:italic; margin-bottom:8px } /* 横版布局 — 左设备信息 | 右数据+图表同行 */ #sentinel-grid.layout-row { display:flex;flex-direction:column;gap:12px } - #sentinel-grid.layout-row .node-card { display:grid;grid-template-columns:180px 1fr;gap:8px 16px;align-items:start } + #sentinel-grid.layout-row .node-card { display:grid;grid-template-columns:160px 1fr;gap:8px 16px;align-items:start } #sentinel-grid.layout-row .col-left { min-width:0 } #sentinel-grid.layout-row .col-right-stack { display:flex;flex-direction:column;gap:2px;min-width:0 } - #sentinel-grid.layout-row .mtr { display:flex;align-items:center;gap:12px;height:36px;padding:0 8px;border-bottom:1px solid var(--md-sys-color-surface-container-lowest) } + #sentinel-grid.layout-row .mtr { display:flex;align-items:center;gap:12px;height:48px;padding:0 8px;border-bottom:1px solid var(--md-sys-color-surface-container-lowest) } #sentinel-grid.layout-row .mtr-data { flex:1;min-width:0;white-space:nowrap } #sentinel-grid.layout-row .mtr-data .rlabel { font-size:.7rem;color:var(--text-dim);text-transform:uppercase;margin-right:6px } #sentinel-grid.layout-row .mtr-data .rval { font-weight:600 } - #sentinel-grid.layout-row .mtr canvas { border-radius:3px;background:rgba(128,128,128,0.08);flex-shrink:1;max-width:180px;min-width:100px } + #sentinel-grid.layout-row .mtr canvas { border-radius:3px;background:rgba(128,128,128,0.08);flex-shrink:0 } #sentinel-grid.layout-row .node-time { margin-top:4px } #sentinel-grid.layout-row .metric-bar { display:none } .metric-row { display:flex; gap:12px; margin-bottom:8px } @@ -190,9 +190,9 @@ '
'+ ''+ '
'+ - '
CPU 0%
'+ - '
MEM 0%
'+ - '
NET 0 0
'+ + '
CPU 0%
'+ + '
MEM 0%
'+ + '
NET 0 0
'+ '
'+ '
'; } else {