From 270df13da0c64364317cafafd16af68f9a9fff84 Mon Sep 17 00:00:00 2001 From: sneak Date: Wed, 14 Oct 2026 02:21:55 +0000 Subject: [PATCH] fix: Chrome draws the popup's text at the 14px text-sm declares (closes #456) Chrome gives extension pages a stylesheet of its own that sets body to 75%, outside any cascade layer, so it beat Tailwind's text-sm and Chrome drew the popup at 12px where Firefox draws 14px. body now carries text-sm!, the important form, as it already carries font-mono!. Both browser suites check that body computes to 14px. At 14px the recovery phrase instruction on the add wallet screen takes a third line, which pushed Import below the fold at 360x600. The die button now shares the instruction's row instead of taking a row of its own. Model: opus-5-5 --- src/popup/index.html | 20 ++++++++++++-------- tests/e2e/firefox/run.js | 12 ++++++++++++ tests/e2e/run.js | 12 ++++++++++++ 3 files changed, 36 insertions(+), 8 deletions(-) diff --git a/src/popup/index.html b/src/popup/index.html index 1dd52bc..91c0630 100644 --- a/src/popup/index.html +++ b/src/popup/index.html @@ -7,9 +7,10 @@ - + font and its size on body, and a Tailwind class beats it only when + marked important: hence font-mono! and text-sm! rather than + font-mono and text-sm. --> +
-

- Enter your 12 or 24 word recovery phrase below, or click - the button to roll the die for a new one. -

-
+ +
+

+ Enter your 12 or 24 word recovery phrase below, or + click the button to roll the die for a new one. +