From 27f4f5e2ee88008b1f6ca1bf6770c44571195621 Mon Sep 17 00:00:00 2001 From: dekun Date: Tue, 14 Jul 2026 12:38:19 +0800 Subject: [PATCH] Make hedge-plan dual cards equal width and height. Co-authored-by: Cursor --- lib/common/static/instance_theme.css | 10 ++++++++++ lib/instance/templates/embed_shell.html | 2 +- lib/instance/templates/index.html | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/lib/common/static/instance_theme.css b/lib/common/static/instance_theme.css index 5cbf283..666356f 100644 --- a/lib/common/static/instance_theme.css +++ b/lib/common/static/instance_theme.css @@ -3322,6 +3322,16 @@ html[data-theme="light"] .opt-be-dist-down { .hedge-plan-page-wrap .options-strike-table-wrap--t { max-height: 168px; } +.hedge-plan-page-wrap .options-dual-grid { + grid-template-columns: 1fr 1fr; + align-items: stretch; +} +.hedge-plan-page-wrap .options-dual-grid > .card { + height: 100%; + min-height: 0; + display: flex; + flex-direction: column; +} .hedge-plan-page-wrap .hp-pick.active, .hedge-plan-page-wrap .opt-row-selected td { background: rgba(90, 140, 255, 0.18); diff --git a/lib/instance/templates/embed_shell.html b/lib/instance/templates/embed_shell.html index 122ef30..3cc52f0 100644 --- a/lib/instance/templates/embed_shell.html +++ b/lib/instance/templates/embed_shell.html @@ -7,7 +7,7 @@ - + {{ exchange_display }} · 加密货币 | 交易监控复盘系统 diff --git a/lib/instance/templates/index.html b/lib/instance/templates/index.html index fe08294..16a6bbe 100644 --- a/lib/instance/templates/index.html +++ b/lib/instance/templates/index.html @@ -17,7 +17,7 @@ {{ exchange_display }} · 加密货币 | 交易监控复盘系统 - +