From f7f0cf3ac8045ec558712b3098c156afdd392c00 Mon Sep 17 00:00:00 2001 From: dekun Date: Fri, 2 Oct 2026 16:09:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=80=BB=E8=A7=88=E8=A1=A8=E6=A0=BC=E5=8D=95?= =?UTF-8?q?=E5=85=83=E6=A0=BC=E6=96=87=E5=AD=97=E5=B1=85=E4=B8=AD=EF=BC=8C?= =?UTF-8?q?=E6=81=A2=E5=A4=8D=E5=8E=9F=E5=85=88=E9=93=BA=E6=BB=A1=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- static/hub.css | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/static/hub.css b/static/hub.css index e0d88f9..82b9de5 100644 --- a/static/hub.css +++ b/static/hub.css @@ -226,9 +226,7 @@ button, .btn { .inst-row { margin: 10px 0; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; } .overview-table-wrap { overflow-x: auto; - margin: 12px auto 0; - width: fit-content; - max-width: 100%; + margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); @@ -236,24 +234,16 @@ button, .btn { backdrop-filter: blur(10px); } .overview-table { - width: auto; - min-width: 720px; + width: 100%; border-collapse: collapse; font-size: 0.88rem; - margin: 0 auto; -} -body.page-dashboard #overview-status { - text-align: center; -} -body.page-dashboard .page-head { - justify-content: center; } .overview-table th, .overview-table td { padding: 10px 12px; border-bottom: 1px solid rgba(56, 189, 248, 0.12); - text-align: left; - vertical-align: top; + text-align: center; + vertical-align: middle; } .overview-table th { color: var(--accent-2); @@ -265,11 +255,12 @@ body.page-dashboard .page-head { .overview-table tr:last-child td { border-bottom: 0; } .overview-table .status-on { color: var(--ok); } .overview-table .status-off { color: var(--bad); } -.overview-actions { display: flex; gap: 8px; flex-wrap: wrap; } +.overview-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; } .overview-actions .btn { margin-top: 0; } .pos-brief { margin: 0; - padding-left: 1.1em; + padding-left: 0; + list-style-position: inside; color: var(--muted); font-size: 0.8rem; }