fix(hedge): show option list by interval; leverage only at start

Keep capital/select params on one row, reload chain when interval changes, and stop filtering the chain by option leverage.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-09 09:18:36 +08:00
parent 20e0c2cb9f
commit 6ab27cebcd
3 changed files with 52 additions and 33 deletions
+28 -3
View File
@@ -3511,13 +3511,38 @@ html[data-theme="light"] .opt-be-dist-down {
.hedge-plan-page-wrap .hp-po-fields--section {
margin: 0;
}
.hedge-plan-page-wrap .hp-po-fields--capital {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hedge-plan-page-wrap .hp-po-fields--select {
grid-template-columns: minmax(72px, 0.9fr) minmax(72px, 0.9fr) minmax(0, 1.6fr) minmax(72px, 0.9fr);
align-items: end;
}
.hedge-plan-page-wrap .hp-po-field--type {
grid-column: 1 / -1;
min-width: 0;
}
.hedge-plan-page-wrap .hp-po-type-seg {
display: flex;
flex-wrap: wrap;
gap: 6px;
flex-wrap: nowrap;
gap: 4px;
}
.hedge-plan-page-wrap .hp-po-type-seg .hp-money-btn {
flex: 1 1 0;
padding: 4px 6px;
font-size: 0.72rem;
white-space: nowrap;
}
@media (max-width: 720px) {
.hedge-plan-page-wrap .hp-po-fields--capital,
.hedge-plan-page-wrap .hp-po-fields--select {
grid-template-columns: 1fr 1fr;
}
.hedge-plan-page-wrap .hp-po-field--type {
grid-column: 1 / -1;
}
.hedge-plan-page-wrap .hp-po-type-seg {
flex-wrap: wrap;
}
}
.hedge-plan-page-wrap .hp-po-right-stack {
display: flex;