feat: collapse fund overview help and bind start day to env
Fold the stats description by default and render history_start_day and keep_days from the API so HUB_FUND_HISTORY_START_DAY in .env drives the UI. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4501,9 +4501,38 @@ html[data-theme="light"] .funds-stage {
|
||||
border-color: rgba(0, 212, 255, 0.45);
|
||||
box-shadow: 0 0 18px rgba(0, 212, 255, 0.2);
|
||||
}
|
||||
.funds-desc-fold {
|
||||
margin: 4px 0 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
.funds-desc-toggle {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 0.72rem;
|
||||
color: var(--accent);
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
user-select: none;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
.funds-desc-toggle::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
.funds-desc-toggle::before {
|
||||
content: "▸";
|
||||
font-size: 0.68rem;
|
||||
transition: transform 0.15s ease;
|
||||
}
|
||||
.funds-desc-fold[open] .funds-desc-toggle::before {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
.funds-desc {
|
||||
margin: 8px 0 0;
|
||||
color: color-mix(in srgb, var(--muted) 88%, var(--accent));
|
||||
letter-spacing: 0.02em;
|
||||
line-height: 1.45;
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
.funds-live-pill {
|
||||
flex-shrink: 0;
|
||||
|
||||
Reference in New Issue
Block a user