fix(hedge): hide mode-specific fields and default to option-primary

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-09 08:49:24 +08:00
parent e7e733d9a9
commit f7e5329915
3 changed files with 21 additions and 12 deletions
+5
View File
@@ -3480,6 +3480,11 @@ html[data-theme="light"] .opt-be-dist-down {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.06);
}
/* display:grid 会盖掉 [hidden];模式切换必须显式 none */
.hedge-plan-page-wrap .hp-po-fields.hidden,
.hedge-plan-page-wrap .hp-po-fields[hidden] {
display: none !important;
}
.hedge-plan-page-wrap .hp-po-field {
display: flex;
flex-direction: column;