From 3a20546782fe854d486bc48c4f1e6bc50a044ff7 Mon Sep 17 00:00:00 2001 From: dekun Date: Fri, 17 Jul 2026 12:55:40 +0800 Subject: [PATCH] Make risk policy and settings panels full width. Match the funds header span by spanning the two-column content grid. Co-authored-by: Cursor --- lib/common/static/instance_theme.css | 4 ++++ lib/instance/templates/embed_shell.html | 2 +- lib/instance/templates/index.html | 2 +- lib/instance/templates/risk_policy_panel.html | 2 +- lib/instance/templates/settings_panel.html | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/common/static/instance_theme.css b/lib/common/static/instance_theme.css index 95bb521..51d152a 100644 --- a/lib/common/static/instance_theme.css +++ b/lib/common/static/instance_theme.css @@ -2606,6 +2606,7 @@ html[data-theme="light"] .journal-detail-img-thumb { margin-top: 12px; width: 100%; min-width: 0; + grid-column: 1 / -1; } .risk-policy-page .settings-card--risk { @@ -2683,6 +2684,9 @@ html[data-theme="light"] .journal-detail-img-thumb { /* ── 系统设置页 ── */ .settings-page { margin-top: 12px; + width: 100%; + min-width: 0; + grid-column: 1 / -1; } .settings-account-summary { diff --git a/lib/instance/templates/embed_shell.html b/lib/instance/templates/embed_shell.html index 4ea40b5..e2de2d7 100644 --- a/lib/instance/templates/embed_shell.html +++ b/lib/instance/templates/embed_shell.html @@ -7,7 +7,7 @@ - + {{ pwa_app_name }} diff --git a/lib/instance/templates/index.html b/lib/instance/templates/index.html index 825fb18..ad4e385 100644 --- a/lib/instance/templates/index.html +++ b/lib/instance/templates/index.html @@ -17,7 +17,7 @@ {{ pwa_app_name }} - + +

风控说明

diff --git a/lib/instance/templates/settings_panel.html b/lib/instance/templates/settings_panel.html index 5d5ed2a..c6e80a9 100644 --- a/lib/instance/templates/settings_panel.html +++ b/lib/instance/templates/settings_panel.html @@ -1,5 +1,5 @@ {# 系统设置:CSS Tab(与 env 配置同方案) #} -

+

系统设置

各区块说明见 docs/系统设置说明.md.