Fix strategy records list showing empty rows after hub close.

Records were still in the database but CSS clipping hid row text; restore visible summary styling and symbol fallback from snapshots.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-08 08:51:47 +08:00
parent b34aefbcc4
commit ea92160d54
7 changed files with 43 additions and 12 deletions
+20
View File
@@ -438,6 +438,26 @@ html[data-theme="light"] .strategy-subnav {
}
/* ── 策略交易 / 策略记录(strategy_templates 内联)── */
html[data-theme="dark"] .strategy-records-page .sr-summary,
html[data-theme="dark"] .strategy-records-page .sr-detail {
color: #cfd3ef !important;
}
html[data-theme="dark"] .strategy-records-page .sr-summary .sr-sym,
html[data-theme="dark"] .strategy-records-page .sr-detail-grid .val {
color: #f0f2ff !important;
}
html[data-theme="dark"] .strategy-records-page .sr-summary .sr-dca-tag {
color: #8892b0 !important;
}
html[data-theme="dark"] .strategy-records-page .sr-summary .sr-pnl.pos,
html[data-theme="dark"] .strategy-records-page .sr-pnl.pos {
color: #4cd97f !important;
}
html[data-theme="dark"] .strategy-records-page .sr-summary .sr-pnl.neg,
html[data-theme="dark"] .strategy-records-page .sr-pnl.neg {
color: #ff6666 !important;
}
html[data-theme="light"] .strategy-records-page h2,
html[data-theme="light"] .plan-card-title,
html[data-theme="light"] .sr-panel-title,