feat: strategy page scroll layout, OKX standalone docs, split print
Right checklist drives card height with left doc scroll; rewrite OKX strategy MD and checklist as standalone; add per-column print buttons. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -7523,14 +7523,38 @@ body.funds-fullscreen-open {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
|
||||
gap: 16px;
|
||||
align-items: stretch;
|
||||
align-items: start;
|
||||
}
|
||||
.strategy-doc-card,
|
||||
.strategy-checklist-card {
|
||||
padding: 18px 20px 20px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: min(72vh, 900px);
|
||||
min-width: 0;
|
||||
}
|
||||
.strategy-doc-card {
|
||||
overflow: hidden;
|
||||
}
|
||||
.strategy-col-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.strategy-col-head .strategy-col-title {
|
||||
margin: 0;
|
||||
}
|
||||
.strategy-col-title-print {
|
||||
display: none;
|
||||
margin: 0 0 14px;
|
||||
font-size: 0.95rem;
|
||||
color: var(--text-soft);
|
||||
}
|
||||
.strategy-col-print {
|
||||
flex-shrink: 0;
|
||||
padding: 4px 10px;
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
.strategy-col-title {
|
||||
margin: 0 0 14px;
|
||||
@@ -7540,11 +7564,14 @@ body.funds-fullscreen-open {
|
||||
.strategy-doc-body {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
max-height: 100%;
|
||||
font-size: 0.88rem;
|
||||
line-height: 1.55;
|
||||
color: var(--text);
|
||||
overflow: auto;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
padding: 2px 10px 2px 4px;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
.strategy-doc-body h2 {
|
||||
font-size: 1rem;
|
||||
@@ -7589,9 +7616,8 @@ body.funds-fullscreen-open {
|
||||
color: var(--muted);
|
||||
}
|
||||
.strategy-checklist-body {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
flex: 0 0 auto;
|
||||
overflow: visible;
|
||||
padding: 2px 10px 2px 4px;
|
||||
}
|
||||
.strategy-checklist-body ul {
|
||||
@@ -7652,7 +7678,10 @@ body.funds-fullscreen-open {
|
||||
}
|
||||
.strategy-doc-card,
|
||||
.strategy-checklist-card {
|
||||
min-height: auto;
|
||||
align-self: stretch;
|
||||
}
|
||||
.strategy-doc-body {
|
||||
max-height: min(50vh, 520px);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7669,10 +7698,22 @@ body.funds-fullscreen-open {
|
||||
body.hub-strategy-printing .strategy-print-header {
|
||||
display: block !important;
|
||||
}
|
||||
body.hub-strategy-printing .strategy-col-title-print {
|
||||
display: block !important;
|
||||
}
|
||||
body.hub-strategy-printing .strategy-doc-body {
|
||||
max-height: none;
|
||||
overflow: visible;
|
||||
}
|
||||
body.hub-strategy-print-doc .strategy-checklist-card {
|
||||
display: none !important;
|
||||
}
|
||||
body.hub-strategy-print-checklist .strategy-doc-card {
|
||||
display: none !important;
|
||||
}
|
||||
body.hub-strategy-printing .strategy-layout {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
body.hub-strategy-printing .card {
|
||||
break-inside: avoid;
|
||||
box-shadow: none;
|
||||
|
||||
Reference in New Issue
Block a user