Fix balance line spacing: use width:42ch;max-width:100%
Some checks failed
check / check (push) Has been cancelled

This commit is contained in:
2026-02-26 03:17:08 +07:00
parent e1bd3bab58
commit a1ddbd035b
3 changed files with 6 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ function balanceLine(symbol, amount, price) {
const usd = price ? formatUsd(amount * price) : "";
return (
`<div class="flex text-xs">` +
`<span class="flex justify-between" style="max-width:42ch">` +
`<span class="flex justify-between" style="width:42ch;max-width:100%">` +
`<span>${symbol}</span>` +
`<span>${qty}</span>` +
`</span>` +