From fb8add13369bc383fed911cadd6339051fae72df Mon Sep 17 00:00:00 2001 From: qinglong Date: Sun, 14 Jun 2026 08:05:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A8=AA=E7=89=88CSS=20=E2=80=94=20grid?= =?UTF-8?q?=202=E5=88=97=E5=B8=83=E5=B1=80=20=E5=B7=A6=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E5=8F=B3=E5=9B=BE=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/sentinel/dashboard.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/plugins/sentinel/dashboard.html b/plugins/sentinel/dashboard.html index f56bab8..7c3e1fd 100644 --- a/plugins/sentinel/dashboard.html +++ b/plugins/sentinel/dashboard.html @@ -56,11 +56,12 @@ .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:flex;flex-wrap:wrap;gap:12px;align-items:start } - #sentinel-grid.layout-row .row-extra { display:flex;gap:12px;flex-wrap:wrap;flex:1;min-width:0 } - #sentinel-grid.layout-row .chart-row { display:flex;gap:8px;flex-wrap:wrap } + #sentinel-grid.layout-row .node-card { display:grid;grid-template-columns:1fr auto;gap:12px 20px } + #sentinel-grid.layout-row .row-extra { display:flex;gap:16px;align-items:start } + #sentinel-grid.layout-row .chart-row { display:flex;gap:8px;flex-direction:column } #sentinel-grid.layout-row .chart-row canvas { border-radius:4px;background:var(--md-sys-color-surface-container-lowest) } - #sentinel-grid.layout-row .info-right { min-width:140px;text-align:right } + #sentinel-grid.layout-row .info-right { min-width:120px;text-align:right } + #sentinel-grid.layout-row .node-time { grid-column:1 } #sentinel-grid.layout-row .metric-bar { display:none } .metric-row { display:flex; gap:12px; margin-bottom:8px } .metric { flex:1 }