Add live expiry countdown for options positions on instance page and trading hub.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-08 11:14:30 +08:00
parent f68197b775
commit 189b27e076
12 changed files with 185 additions and 6 deletions
+14
View File
@@ -8161,6 +8161,20 @@ html[data-theme="light"] .hub-monitor-options .hub-monitor-block-label {
margin-top: 6px;
}
.opt-expiry-cd {
font-variant-numeric: tabular-nums;
font-weight: 600;
white-space: nowrap;
}
.opt-expiry-cd--urgent {
color: #ffb347;
}
.opt-expiry-cd--expired {
color: var(--muted);
}
html[data-theme="light"] .hub-options-table th {
color: #3a5068;
}