Constrain funds bar width and fold strategy rules.
Match page max-width on ultrawide and move the plan subtitle into a collapsible rules section under the funds strip. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -163,6 +163,9 @@ async def funds_summary(_user: Annotated[str, Depends(require_user)]) -> dict[st
|
||||
"options_trading_label": _fmt_opt(opt_t_usdc, opt_t_usdt),
|
||||
"realtime_pnl": realtime,
|
||||
"usdc_usdt_rate": rate,
|
||||
"perp_inst_id": str(
|
||||
db.get_setting("perp_inst_id") or s.perp_inst_id or "ETH-USDT-SWAP"
|
||||
),
|
||||
"updated_at_ms": int(datetime.now(timezone.utc).timestamp() * 1000),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user