From d7f1e0d2ded29fa33f5f10c19537221bec993f0a Mon Sep 17 00:00:00 2001 From: dekun Date: Sun, 4 Oct 2026 21:57:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=80=BB=E8=A7=88=E6=8B=89=E5=8F=96=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E5=B9=B6=E5=85=A5=E5=B7=B2=E6=9B=B4=E6=96=B0=E8=A1=8C?= =?UTF-8?q?=EF=BC=8C=E9=99=A4=E5=B7=A5=E4=BD=9C=E5=8F=B0=E5=A4=96=E5=90=84?= =?UTF-8?q?=E9=A1=B5=201800=20=E5=AE=BD=E5=B9=B6=E5=B7=A6=E5=8F=B3?= =?UTF-8?q?=E7=95=99=E7=99=BD=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 | 42 ++++++++++++++-------------------------- static/hub.js | 18 ++++++++++++----- templates/base.html | 2 +- templates/dashboard.html | 2 +- 4 files changed, 30 insertions(+), 34 deletions(-) diff --git a/static/hub.css b/static/hub.css index 7ae22f2..98b424c 100644 --- a/static/hub.css +++ b/static/hub.css @@ -206,33 +206,26 @@ a:hover { color: #7dd3fc; } .main { width: 100%; - max-width: 1200px; + max-width: 1800px; margin: 0 auto; - padding: 0 clamp(6px, 1vw, 14px) 16px; + padding: 0 clamp(24px, 4vw, 64px) 16px; } -/* 总览/实例与客户端一致: 铺满,带鱼屏锁 1800 */ body.page-dashboard .main, -body.page-instances .main { - max-width: none; +body.page-instances .main, +body.page-stats .main, +body.page-settings .main, +body.page-cond-orders .main { + max-width: 1800px; width: 100%; margin: 0 auto; - padding: 0 clamp(6px, 1vw, 14px) 16px; + padding: 0 clamp(24px, 4vw, 64px) 16px; } -@media (min-aspect-ratio: 21/9) { - body.page-dashboard .main, - body.page-instances .main, - body.page-stats .main, - body.page-settings .main, - body.page-cond-orders .main { - max-width: min(1800px, calc(100vw - 24px)); - } - body.page-settings .settings-shell { - max-width: none; - width: 100%; - } - body.page-settings .settings-grid { - max-width: none; - } +body.page-settings .settings-shell { + max-width: none; + width: 100%; +} +body.page-settings .settings-grid { + max-width: none; } body.page-desk { height: 100vh; @@ -1671,10 +1664,5 @@ input.readonly { font-size: 0.75rem; } body.page-stats .main { - max-width: 1400px; -} -@media (min-aspect-ratio: 21/9) { - body.page-stats .main { - max-width: min(1800px, calc(100vw - 24px)); - } + max-width: 1800px; } diff --git a/static/hub.js b/static/hub.js index bfe612d..62fd580 100644 --- a/static/hub.js +++ b/static/hub.js @@ -351,9 +351,6 @@ "" + bidLiquiditySummary(brief) + "" + - '' + - escapeHtml(row.pulled_at || "—") + - "" + '