Move desktop calculator tabs left.
Compress wide-screen calculator inputs into three rows while preserving mobile layout. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -9364,12 +9364,19 @@ body.funds-fullscreen-open {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body:not(.hub-phone) #page-calculator .calc-workspace {
|
||||
display: grid;
|
||||
grid-template-columns: 180px minmax(0, 1fr);
|
||||
gap: 14px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
body:not(.hub-phone) #page-calculator .calc-mobile-tabs {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
gap: 8px;
|
||||
max-width: 640px;
|
||||
margin: 0 auto 14px;
|
||||
max-width: none;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
border: 1px solid var(--border-soft);
|
||||
border-radius: 12px;
|
||||
@@ -9386,6 +9393,8 @@ body:not(.hub-phone) #page-calculator .calc-m-tab {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
text-align: left;
|
||||
padding: 9px 12px;
|
||||
}
|
||||
|
||||
body:not(.hub-phone) #page-calculator .calc-m-tab:hover {
|
||||
@@ -9410,6 +9419,7 @@ body:not(.hub-phone) #page-calculator .calc-tab-label-desktop {
|
||||
|
||||
body:not(.hub-phone) #page-calculator .calc-layout {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
body:not(.hub-phone) #page-calculator .calc-layout[data-calc-tab="trend"] [data-calc-pane="roll"],
|
||||
@@ -9417,6 +9427,12 @@ body:not(.hub-phone) #page-calculator .calc-layout[data-calc-tab="roll"] [data-c
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
body:not(.hub-phone) #page-calculator .calc-form-grid {
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
/* --- 策略说明 --- */
|
||||
.strategy-page-head {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user