Perp hedge: dialog order like options; right panel shows positions/orders/history/stats.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-14 16:05:50 +08:00
parent ab1582ed88
commit 78b909761d
3 changed files with 470 additions and 284 deletions
+23
View File
@@ -3911,6 +3911,29 @@ html[data-theme="light"] .opt-be-dist-down {
.hedge-plan-page-wrap #hp-po-layout > .card {
align-self: stretch;
}
.hedge-plan-page-wrap .hp-po-pos-card {
min-height: 0;
}
.hedge-plan-page-wrap .hp-po-pos-card .options-pos-tab-body {
flex: 1 1 auto;
min-height: 240px;
}
.hedge-plan-page-wrap .hp-po-pos-card .options-pos-pane {
overflow: auto;
}
.hedge-plan-page-wrap .hp-po-order-dialog .hp-po-section-title {
margin: 0 0 6px;
font-size: 0.85rem;
}
.hedge-plan-page-wrap .hp-po-order-dialog .hp-po-fields--section {
margin-bottom: 4px;
}
.hedge-plan-page-wrap .hp-pos-tab.active,
.hedge-plan-page-wrap .opt-pos-tab.active {
border-color: #5b8cff;
color: #cfe0ff;
background: rgba(74, 124, 255, 0.28);
}
.hedge-plan-page-wrap .hp-po-left-stack,
.hedge-plan-page-wrap .hp-po-right-stack {
display: flex;