feat: options UI scroll layout, stats card, funding balance, and cross-account transfer

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-07 09:57:13 +08:00
parent 090b9c6215
commit e82fd15bb7
12 changed files with 245 additions and 66 deletions
+70 -1
View File
@@ -2356,8 +2356,16 @@ html[data-theme="light"] .settings-export-link {
}
.options-strike-table-wrap {
overflow-x: auto;
overflow-y: auto;
max-height: 352px;
margin-top: 8px;
}
.options-strike-table thead th {
position: sticky;
top: 0;
z-index: 1;
background: rgba(18, 24, 38, 0.98);
}
.options-strike-table {
width: 100%;
border-collapse: collapse;
@@ -2462,7 +2470,68 @@ html[data-theme="light"] .settings-export-link {
display: grid;
grid-template-columns: 1.15fr 0.85fr;
gap: 16px;
align-items: start;
align-items: stretch;
}
.options-order-card,
.options-pos-card-wrap {
display: flex;
flex-direction: column;
min-height: 0;
}
.options-pos-stack {
flex: 1;
display: flex;
flex-direction: column;
gap: 10px;
min-height: 0;
}
.options-pos-subcard {
display: flex;
flex-direction: column;
min-height: 0;
}
.options-pos-subcard h3 {
margin: 0 0 8px;
font-size: 0.95rem;
font-weight: 600;
}
.options-pos-live-pane {
flex: 1;
min-height: 100px;
max-height: 220px;
overflow-y: auto;
}
.options-pos-stats-card {
flex-shrink: 0;
}
.options-stats-grid {
display: flex;
flex-wrap: wrap;
gap: 16px 24px;
}
.options-stat-item {
display: flex;
flex-direction: column;
gap: 4px;
}
.options-stat-item .k {
font-size: 0.78rem;
opacity: 0.7;
}
.options-stat-item .v {
font-size: 1.1rem;
font-weight: 600;
}
.options-pos-history-card {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
.options-history-table-wrap {
flex: 1;
overflow-y: auto;
min-height: 120px;
}
@media (max-width: 1100px) {
.options-dual-grid {