Fix hedge-plan option list to 5-row scroll viewport and add auto-deploy rule.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-14 12:43:23 +08:00
parent 27f4f5e2ee
commit 036501b70c
6 changed files with 44 additions and 77 deletions
+13 -7
View File
@@ -3296,8 +3296,7 @@ html[data-theme="light"] .opt-be-dist-down {
margin: 4px 0;
align-items: center;
}
.hedge-plan-page-wrap .hp-opt-toolbar select,
.hedge-plan-page-wrap .hp-strike-pick-label select {
.hedge-plan-page-wrap .hp-opt-toolbar select {
max-width: 168px;
font-size: 0.72rem;
padding: 3px 6px;
@@ -3309,9 +3308,14 @@ html[data-theme="light"] .opt-be-dist-down {
min-height: 26px;
font-size: 0.72rem;
}
.hedge-plan-page-wrap .hp-strike-table-wrap--5 {
max-height: 168px; /* 表头 + 约 5 行 */
/* 视口约 5 行数据 + 表头;超出表内滚动 */
.hedge-plan-page-wrap .hp-strike-table-wrap--5,
.hedge-plan-page-wrap .options-strike-table-wrap--t {
max-height: 220px;
min-height: 220px;
overflow-y: auto;
margin-top: 4px;
flex: 1 1 auto;
}
.hedge-plan-page-wrap .hp-opt-bal-line {
margin-top: 4px;
@@ -3319,12 +3323,10 @@ html[data-theme="light"] .opt-be-dist-down {
.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 .options-dual-grid {
grid-template-columns: 1fr 1fr;
align-items: stretch;
margin-bottom: 20px;
}
.hedge-plan-page-wrap .options-dual-grid > .card {
height: 100%;
@@ -3332,6 +3334,10 @@ html[data-theme="light"] .opt-be-dist-down {
display: flex;
flex-direction: column;
}
.hedge-plan-page-wrap .hp-preview-card {
margin-top: 8px;
clear: both;
}
.hedge-plan-page-wrap .hp-pick.active,
.hedge-plan-page-wrap .opt-row-selected td {
background: rgba(90, 140, 255, 0.18);