Add hub perpetual-options hedge calculator tab and sizing formula.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4708,7 +4708,11 @@ body.login-page {
|
||||
}
|
||||
|
||||
body.hub-phone .calc-layout[data-calc-tab="trend"] [data-calc-pane="roll"],
|
||||
body.hub-phone .calc-layout[data-calc-tab="roll"] [data-calc-pane="trend"] {
|
||||
body.hub-phone .calc-layout[data-calc-tab="trend"] [data-calc-pane="po"],
|
||||
body.hub-phone .calc-layout[data-calc-tab="roll"] [data-calc-pane="trend"],
|
||||
body.hub-phone .calc-layout[data-calc-tab="roll"] [data-calc-pane="po"],
|
||||
body.hub-phone .calc-layout[data-calc-tab="po"] [data-calc-pane="trend"],
|
||||
body.hub-phone .calc-layout[data-calc-tab="po"] [data-calc-pane="roll"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -9776,10 +9780,33 @@ body:not(.hub-phone) #page-calculator .calc-layout {
|
||||
}
|
||||
|
||||
body:not(.hub-phone) #page-calculator .calc-layout[data-calc-tab="trend"] [data-calc-pane="roll"],
|
||||
body:not(.hub-phone) #page-calculator .calc-layout[data-calc-tab="roll"] [data-calc-pane="trend"] {
|
||||
body:not(.hub-phone) #page-calculator .calc-layout[data-calc-tab="trend"] [data-calc-pane="po"],
|
||||
body:not(.hub-phone) #page-calculator .calc-layout[data-calc-tab="roll"] [data-calc-pane="trend"],
|
||||
body:not(.hub-phone) #page-calculator .calc-layout[data-calc-tab="roll"] [data-calc-pane="po"],
|
||||
body:not(.hub-phone) #page-calculator .calc-layout[data-calc-tab="po"] [data-calc-pane="trend"],
|
||||
body:not(.hub-phone) #page-calculator .calc-layout[data-calc-tab="po"] [data-calc-pane="roll"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#page-calculator .calc-po-cases {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
#page-calculator .calc-po-case {
|
||||
padding: 10px 12px;
|
||||
border: 1px solid var(--border-soft, rgba(255, 255, 255, 0.08));
|
||||
border-radius: 10px;
|
||||
background: color-mix(in srgb, var(--panel, #12161f) 88%, transparent);
|
||||
}
|
||||
|
||||
#page-calculator .calc-po-case h4 {
|
||||
margin: 0 0 8px;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
body:not(.hub-phone) #page-calculator .calc-card {
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
|
||||
Reference in New Issue
Block a user