Enlarge dashboard KPI summary bar for readability.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-20 12:48:38 +08:00
parent f467f94fe9
commit 7a01535802
2 changed files with 9 additions and 9 deletions
+8 -8
View File
@@ -124,7 +124,7 @@ body.hub-page-dashboard .page#page-dashboard {
justify-content: space-between;
gap: 0;
width: 100%;
padding: 10px 4px;
padding: 14px 6px;
border-radius: 12px;
background: var(--dash-card-bg);
border: 1px solid var(--dash-card-border);
@@ -136,7 +136,7 @@ body.hub-page-dashboard .page#page-dashboard {
flex: 1 1 0;
min-width: 0;
max-width: none;
padding: 4px 8px;
padding: 6px 10px;
position: relative;
text-align: center;
}
@@ -145,8 +145,8 @@ body.hub-page-dashboard .page#page-dashboard {
content: "";
position: absolute;
left: 0;
top: 18%;
bottom: 18%;
top: 16%;
bottom: 16%;
width: 1px;
background: color-mix(in srgb, var(--dash-card-border) 85%, transparent);
}
@@ -167,10 +167,10 @@ body.hub-page-dashboard .page#page-dashboard {
}
.dash-kpi-label {
font-size: 0.65rem;
font-size: 0.78rem;
color: var(--dash-muted);
letter-spacing: 0.04em;
margin-bottom: 4px;
margin-bottom: 6px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@@ -178,8 +178,8 @@ body.hub-page-dashboard .page#page-dashboard {
.dash-kpi-value {
font-family: JetBrains Mono, monospace;
font-size: 0.92rem;
font-weight: 600;
font-size: 1.18rem;
font-weight: 650;
line-height: 1.25;
color: var(--dash-text);
white-space: nowrap;
+1 -1
View File
@@ -20,7 +20,7 @@
<link rel="stylesheet" href="/assets/trade_stats_calendar.css?v=4" />
<link rel="stylesheet" href="/assets/account_risk_badge.css?v=4" />
<script src="/assets/account_risk_badge.js?v=4"></script>
<link rel="stylesheet" href="/assets/dashboard.css?v=20260720-dash-sl-tp" />
<link rel="stylesheet" href="/assets/dashboard.css?v=20260720-dash-kpi-lg" />
</head>
<body>
<div class="app-bg" aria-hidden="true"></div>