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
+10
View File
@@ -2890,6 +2890,16 @@ html[data-theme="light"] .options-estimate-row {
.opt-pos-card {
margin-bottom: 10px;
}
.opt-expiry-cd {
font-variant-numeric: tabular-nums;
font-weight: 600;
}
.opt-expiry-cd--urgent {
color: #ffb347;
}
.opt-expiry-cd--expired {
color: var(--muted);
}
.settings-card--compact .options-settings-section {
margin-bottom: 8px;
}