Swap 永期 layout to left option select / right order; default opt:perp ratio 2.

Call pairs with perp short and Put with perp long; sizing shows coin notional so 1 BTC option hedges 0.5 BTC perp.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-14 12:54:09 +08:00
parent 4c48c95562
commit 73a1d5f709
6 changed files with 263 additions and 162 deletions
+35
View File
@@ -3911,6 +3911,41 @@ 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-left-stack,
.hedge-plan-page-wrap .hp-po-right-stack {
display: flex;
flex-direction: column;
gap: 10px;
flex: 1 1 auto;
min-height: 0;
}
.hedge-plan-page-wrap .hp-po-left-stack > .hp-opt-card,
.hedge-plan-page-wrap .hp-po-select-card {
flex: 1 1 auto;
display: flex;
flex-direction: column;
min-height: 0;
}
.hedge-plan-page-wrap .hp-po-left-stack > .hp-opt-card .hp-strike-table-wrap--6,
.hedge-plan-page-wrap .hp-po-select-card .hp-strike-table-wrap--6 {
flex: 1 1 auto;
min-height: 220px;
}
.hedge-plan-page-wrap .hp-po-pair-hint {
margin-left: 8px;
font-size: 0.82rem;
white-space: nowrap;
}
.hedge-plan-page-wrap .hp-po-chain-hint {
margin: 4px 0 8px;
font-size: 0.78rem;
line-height: 1.4;
}
.hedge-plan-page-wrap .hp-po-order-card .hp-po-perp-quote-card {
height: auto;
flex: 0 0 auto;
margin-bottom: 8px;
}
.hedge-plan-page-wrap .hp-po-right-stack > .hp-po-perp-quote-card {
height: auto;
flex: 0 0 auto;