Fix composite margin ratio cap at 50% and add risk guide page with nav toggle.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-29 22:29:13 +08:00
parent 9a10ac8a51
commit 8b4b1a875c
14 changed files with 392 additions and 34 deletions
+14 -2
View File
@@ -87,6 +87,18 @@
font-weight: 400;
}
.dash-risk-doc-link {
font-size: 0.74rem;
font-weight: 500;
color: var(--accent);
text-decoration: none;
margin-left: 0.15rem;
}
.dash-risk-doc-link:hover {
text-decoration: underline;
}
.dash-risk-doc-ref code {
font-size: 0.68rem;
}
@@ -161,12 +173,12 @@
}
.dashboard-risk-value .risk-margin-cap-inline {
color: #5eb8ff;
color: #c4a035;
font-weight: 600;
}
[data-theme="light"] .dashboard-risk-value .risk-margin-cap-inline {
color: #1d4ed8;
color: #b45309;
}
.dashboard-risk-grid .stat-item {