feat(hub): time-close countdown in monitor position table

Show timed-close badge with live countdown next to contract name in the grid holdings table.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-11 20:24:30 +08:00
parent 0d82cd2ad3
commit a9c40097b3
3 changed files with 14 additions and 5 deletions
+8 -2
View File
@@ -1024,7 +1024,8 @@ body.market-chart-fs-open {
}
.hub-pos-card .pos-symbol-time-close,
.hub-mini-title .pos-symbol-time-close {
.hub-mini-title .pos-symbol-time-close,
.td-symbol .pos-symbol-time-close {
display: inline-flex;
align-items: center;
gap: 4px;
@@ -1038,7 +1039,8 @@ body.market-chart-fs-open {
vertical-align: middle;
}
.hub-pos-card .pos-symbol-time-close .pos-time-close-cd,
.hub-mini-title .pos-symbol-time-close .pos-time-close-cd {
.hub-mini-title .pos-symbol-time-close .pos-time-close-cd,
.td-symbol .pos-symbol-time-close .pos-time-close-cd {
font-variant-numeric: tabular-nums;
letter-spacing: 0.03em;
}
@@ -1166,6 +1168,10 @@ body.market-chart-fs-open {
.data-table .td-symbol {
white-space: nowrap;
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 4px 6px;
}
.hub-pos-card .pos-grid {