Move hedge-plan calc actions to second card and add spacing above preview.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-14 13:05:56 +08:00
parent 8afaea1ea6
commit 5fcf649c79
4 changed files with 21 additions and 18 deletions
+9 -4
View File
@@ -3353,8 +3353,8 @@ html[data-theme="light"] .opt-be-dist-down {
/* 视口约 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;
max-height: 248px;
min-height: 248px;
overflow-y: auto;
margin-top: 4px;
flex: 1 1 auto;
@@ -3368,7 +3368,7 @@ html[data-theme="light"] .opt-be-dist-down {
.hedge-plan-page-wrap .options-dual-grid {
grid-template-columns: 1fr 1fr;
align-items: stretch;
margin-bottom: 20px;
margin-bottom: 28px;
}
.hedge-plan-page-wrap .options-dual-grid > .card {
height: 100%;
@@ -3377,9 +3377,14 @@ html[data-theme="light"] .opt-be-dist-down {
flex-direction: column;
}
.hedge-plan-page-wrap .hp-preview-card {
margin-top: 8px;
margin-top: 0;
clear: both;
}
.hedge-plan-page-wrap .hp-action-row {
margin-top: 10px;
gap: 8px;
justify-content: flex-end;
}
.hedge-plan-page-wrap .hp-pick.active,
.hedge-plan-page-wrap .opt-row-selected td {
background: rgba(90, 140, 255, 0.18);