Show hub fullscreen options positions as cards matching instance data.
Enrich hub options snapshot with close preview and render read-only option position cards in exchange fullscreen view. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1970,6 +1970,35 @@ body.market-chart-fs-open {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.exchange-fullscreen .hub-opt-pos-list {
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.hub-opt-pos-card .pos-grid {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.hub-opt-pos-card .opt-pos-cell--depth {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.hub-opt-pos-card .opt-bid-plain {
|
||||
color: #dbe6ff;
|
||||
font-variant-numeric: tabular-nums;
|
||||
line-height: 1.35;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.hub-opt-pos-card .opt-close-value {
|
||||
font-weight: 700;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.hub-opt-pos-card .pos-card-symbol strong {
|
||||
font-size: 0.72rem;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.hub-pos-card .pos-cell {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
Reference in New Issue
Block a user