Fix dashboard daily loss risk cell text overlap

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-03 12:49:51 +08:00
parent 2081bf2da9
commit 08be5f34c8
2 changed files with 50 additions and 15 deletions
+20
View File
@@ -337,6 +337,26 @@
white-space: nowrap;
}
.dashboard-risk-item--daily-loss {
flex: 1.4 1 8.75rem;
min-width: 8.75rem;
}
.dashboard-risk-item--daily-loss .dashboard-risk-value {
white-space: normal;
line-height: 1.35;
font-size: 0.86rem;
}
.dashboard-risk-sub {
margin-top: 0.14rem;
font-size: 0.68rem;
font-weight: 500;
line-height: 1.3;
color: var(--text-muted);
white-space: normal;
}
.dashboard-risk-value.risk-switch-on {
color: var(--profit);
}