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

@@ -40,7 +40,7 @@ function render(ctx) {
}
const addrUsd = formatUsd(getAddressValueUsd(addr));
html += `<div class="flex text-xs">`;
html += `<span style="width:42ch">${addr.address}</span>`;
html += `<span style="max-width:42ch">${addr.address}</span>`;
html += `<span class="text-right text-muted flex-1">${addrUsd}</span>`;
html += `</div>`;
html += balanceLinesForAddress(addr);