@@ -837,6 +837,13 @@ html[data-theme="light"] .nav-spot--down .nav-spot-pct {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.stat-strip-item .value[data-funds-field="current-capital"],
|
||||||
|
.inst-phone-chip b[data-funds-field="current-capital"] {
|
||||||
|
white-space: pre-line;
|
||||||
|
line-height: 1.25;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.stat-strip-item--primary .label {
|
.stat-strip-item--primary .label {
|
||||||
font-size: 0.76rem;
|
font-size: 0.76rem;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ def trading_account_label(
|
|||||||
btc_txt = _fmt_coin_amount(btc, min_amt=1e-7)
|
btc_txt = _fmt_coin_amount(btc, min_amt=1e-7)
|
||||||
if btc_txt is not None:
|
if btc_txt is not None:
|
||||||
parts.append(f"{btc_txt} BTC")
|
parts.append(f"{btc_txt} BTC")
|
||||||
return " / ".join(parts) if parts else "—"
|
return "\n".join(parts) if parts else "—"
|
||||||
|
|
||||||
|
|
||||||
def total_funds_usdt(
|
def total_funds_usdt(
|
||||||
|
|||||||
@@ -1164,7 +1164,7 @@ function formatTradingAccountLabel(usdt, eth, btc, marginMode) {
|
|||||||
};
|
};
|
||||||
pushCoin(eth, "ETH");
|
pushCoin(eth, "ETH");
|
||||||
pushCoin(btc, "BTC");
|
pushCoin(btc, "BTC");
|
||||||
return parts.length ? parts.join(" / ") : "—";
|
return parts.length ? parts.join("\n") : "—";
|
||||||
}
|
}
|
||||||
|
|
||||||
function setFundsFieldText(field, text){
|
function setFundsFieldText(field, text){
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<link rel="manifest" href="/static/icons/manifest.webmanifest">
|
<link rel="manifest" href="/static/icons/manifest.webmanifest">
|
||||||
<title>{{ pwa_app_name }}</title>
|
<title>{{ pwa_app_name }}</title>
|
||||||
<link rel="stylesheet" href="/static/instance_page.css?v=13">
|
<link rel="stylesheet" href="/static/instance_page.css?v=13">
|
||||||
<link rel="stylesheet" href="/static/instance_theme.css?v=117">
|
<link rel="stylesheet" href="/static/instance_theme.css?v=118">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body
|
<body
|
||||||
@@ -1645,7 +1645,7 @@ function formatTradingAccountLabel(usdt, eth, btc, marginMode) {
|
|||||||
};
|
};
|
||||||
pushCoin(eth, "ETH");
|
pushCoin(eth, "ETH");
|
||||||
pushCoin(btc, "BTC");
|
pushCoin(btc, "BTC");
|
||||||
return parts.length ? parts.join(" / ") : "—";
|
return parts.length ? parts.join("\n") : "—";
|
||||||
}
|
}
|
||||||
|
|
||||||
function setFundsFieldText(field, text){
|
function setFundsFieldText(field, text){
|
||||||
|
|||||||
Reference in New Issue
Block a user