From cef3d2ad37e86cd227c42344a439c1769a2f9264 Mon Sep 17 00:00:00 2001 From: sneak Date: Thu, 26 Feb 2026 02:29:11 +0700 Subject: [PATCH] Fix horizontal overflow: overflow-x-hidden on body and app, remove shrink-0 from 42ch spans The 42ch fixed-width spans with shrink-0 prevented flex from shrinking them when the container was narrower, causing horizontal scrolling. Also added overflow-x: hidden on body and #app as a safety net. --- src/popup/index.html | 8 ++------ src/popup/styles/main.css | 1 + src/popup/views/helpers.js | 2 +- src/popup/views/home.js | 2 +- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/popup/index.html b/src/popup/index.html index 24447bc..fedad12 100644 --- a/src/popup/index.html +++ b/src/popup/index.html @@ -7,7 +7,7 @@ -
+
- + ` + - `` + + `` + `${symbol}` + `${qty}` + `` + diff --git a/src/popup/views/home.js b/src/popup/views/home.js index f775d3a..0ff1403 100644 --- a/src/popup/views/home.js +++ b/src/popup/views/home.js @@ -40,7 +40,7 @@ function render(ctx) { } const addrUsd = formatUsd(getAddressValueUsd(addr)); html += `
`; - html += `${addr.address}`; + html += `${addr.address}`; html += `${addrUsd}`; html += `
`; html += balanceLinesForAddress(addr);