From f5bddb360aa7dd04b0786915732959323d171f72 Mon Sep 17 00:00:00 2001 From: dekun Date: Sun, 4 Oct 2026 20:45:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=A6=E9=B1=BC=E5=B1=8F=E4=B8=8B=E9=99=A4?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0=E5=A4=96=E5=90=84=E9=A1=B5=E4=B8=8E?= =?UTF-8?q?=E6=80=BB=E8=A7=88=E5=90=8C=E5=AE=BD=201800=EF=BC=8C=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E5=A4=96=E5=A3=B3=E9=93=BA=E6=BB=A1=E3=80=81=E8=B4=A6?= =?UTF-8?q?=E5=8F=B7=E5=BE=AE=E4=BF=A1=E8=A1=A8=E5=8D=95=E4=BB=8D=E7=AA=84?= =?UTF-8?q?=E5=88=97=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 | 17 ++++++++++++++++- templates/base.html | 4 ++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/static/hub.css b/static/hub.css index afa8f86..bdb49e0 100644 --- a/static/hub.css +++ b/static/hub.css @@ -220,9 +220,19 @@ body.page-instances .main { } @media (min-aspect-ratio: 21/9) { body.page-dashboard .main, - body.page-instances .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-desk .main { max-width: none; @@ -1655,3 +1665,8 @@ input.readonly { body.page-stats .main { max-width: 1400px; } +@media (min-aspect-ratio: 21/9) { + body.page-stats .main { + max-width: min(1800px, calc(100vw - 24px)); + } +} diff --git a/templates/base.html b/templates/base.html index 2571b81..7bc336e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -4,9 +4,9 @@ {% block title %}加密货币|OKX 期权中控{% endblock %} - + - + {% if session.get('logged_in') %} 退出 {% endif %}