Rewrite tx list with innerHTML, fix scrollbar overlay and overflow
Some checks failed
check / check (push) Has been cancelled
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:
@@ -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>` +
|
||||
|
||||
Reference in New Issue
Block a user