Compact hedge-plan option list to 5 rows with overflow select.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-14 12:33:30 +08:00
parent 09cd680e4a
commit 8d37b2cba3
5 changed files with 123 additions and 29 deletions
+33
View File
@@ -3289,6 +3289,39 @@ html[data-theme="light"] .opt-be-dist-down {
font-size: 0.68rem;
margin-left: 4px;
}
.hedge-plan-page-wrap .hp-opt-toolbar,
.hedge-plan-page-wrap .hp-pick-row {
flex-wrap: wrap;
gap: 6px;
margin: 4px 0;
align-items: center;
}
.hedge-plan-page-wrap .hp-opt-toolbar select,
.hedge-plan-page-wrap .hp-strike-pick-label select {
max-width: 168px;
font-size: 0.72rem;
padding: 3px 6px;
min-height: 26px;
}
.hedge-plan-page-wrap .hp-opt-toolbar .btn-secondary,
.hedge-plan-page-wrap .hp-opt-toolbar .hp-money-btn {
padding: 3px 8px;
min-height: 26px;
font-size: 0.72rem;
}
.hedge-plan-page-wrap .hp-strike-table-wrap--5 {
max-height: 168px; /* 表头 + 约 5 行 */
margin-top: 4px;
}
.hedge-plan-page-wrap .hp-opt-bal-line {
margin-top: 4px;
}
.hedge-plan-page-wrap .hp-acct-hint {
display: none;
}
.hedge-plan-page-wrap .options-strike-table-wrap--t {
max-height: 168px;
}
.hedge-plan-page-wrap .hp-pick.active,
.hedge-plan-page-wrap .opt-row-selected td {
background: rgba(90, 140, 255, 0.18);