Rewrite tx list with innerHTML, fix scrollbar overlay and overflow
Some checks failed
check / check (push) Has been cancelled

- Rebuilt tx list rendering using innerHTML instead of createElement
- scrollbar-gutter: stable on body to prevent content shift
- max-width:42ch instead of width:42ch to prevent horizontal overflow
- overflow-x:hidden on body and #app
This commit is contained in:
2026-02-26 03:12:33 +07:00
parent 197f40bde5
commit 75ec67617b
5 changed files with 24 additions and 49 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="width:42ch">` +
`<span class="flex justify-between" style="max-width:42ch">` +
`<span>${symbol}</span>` +
`<span>${qty}</span>` +
`</span>` +