fix: taller centered stats strip with larger exchange and trade count

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-07 01:52:50 +08:00
parent 65594c28bd
commit fc6f85e76c
4 changed files with 28 additions and 17 deletions
+24 -13
View File
@@ -606,46 +606,57 @@ html[data-theme="light"] .theme-toggle-btn.is-active {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
gap: 0;
margin-top: 10px;
padding-top: 10px;
margin-top: 12px;
padding: 14px 0 12px;
border-top: 1px solid var(--border-soft, #2a3150);
min-height: 72px;
align-items: center;
}
.stat-strip-item {
display: flex;
flex-direction: column;
align-items: flex-start;
align-items: center;
justify-content: center;
min-width: 0;
padding: 0 12px;
padding: 4px 10px;
border-right: 1px solid var(--border-soft, #2a3150);
text-align: left;
text-align: center;
}
.stat-strip-item:first-child {
padding-left: 0;
padding-left: 4px;
}
.stat-strip-item:last-child {
border-right: none;
padding-right: 0;
padding-right: 4px;
}
.stat-strip-item .label {
font-size: 0.7rem;
font-size: 0.72rem;
color: #8892b0;
margin-bottom: 3px;
margin-bottom: 6px;
white-space: nowrap;
}
.stat-strip-item .value {
font-size: 0.92rem;
font-size: 0.94rem;
font-weight: 600;
color: #e8ecff;
line-height: 1.25;
line-height: 1.3;
white-space: nowrap;
}
.stat-strip-item--primary .label {
font-size: 0.76rem;
}
.stat-strip-item--primary .value {
font-size: 1.18rem;
font-weight: 700;
}
.stat-strip-item--pnl .value.pnl-pos {
color: #3dd68c;
}
@@ -662,11 +673,11 @@ html[data-theme="light"] .theme-toggle-btn.is-active {
.stat-strip-item {
border-right: none;
padding: 0 8px 0 0;
padding: 6px 8px;
}
.stat-strip-item:first-child {
padding-left: 0;
padding-left: 6px;
}
}