Enhance dashboard with exchange labels, split SL/TP columns, and daily risk limits.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-29 22:04:44 +08:00
parent b460c6c4e5
commit d8c6428eb5
7 changed files with 303 additions and 54 deletions
+38 -5
View File
@@ -66,7 +66,41 @@
}
.dashboard-risk-grid {
display: flex;
flex-wrap: wrap;
align-items: stretch;
gap: 0;
margin-bottom: 0;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.dashboard-risk-item {
flex: 1 1 0;
min-width: 5.8rem;
padding: 0.45rem 0.55rem;
text-align: center;
border-right: 1px solid var(--table-border);
}
.dashboard-risk-item:last-child {
border-right: none;
}
.dashboard-risk-label {
font-size: 0.62rem;
line-height: 1.3;
color: var(--text-muted);
white-space: nowrap;
}
.dashboard-risk-value {
font-size: 0.8rem;
font-weight: 600;
color: var(--text-title);
margin-top: 0.18rem;
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
.dashboard-risk-grid .stat-item {
@@ -84,13 +118,12 @@
.dash-symbol-title {
font-weight: 600;
line-height: 1.35;
line-height: 1.45;
}
.dash-symbol-sub {
font-size: 0.72rem;
line-height: 1.35;
margin-top: 0.12rem;
.dash-symbol-ex {
font-weight: 400;
font-size: 0.78rem;
}
.dash-main-badge {