03ae61226dd9
small text-size zoom moved from html to body — html fills popup frame, no right-edge black strip (v3.6.51)
- time
- 2026-05-20 00:20 UTC · 5 months ago
- machine
- koh2
- parent
- b781c373cddb
↓ peach-browser-03ae6122.tar.gzatlas at this save
files changed4 files
manifest.firefox.json+1 −1manifest.json+1 −1package.json+1 −1src/popup/styles/vars.css+6 −5manifest.firefox.json+1 −1
@@ -2,7 +2,7 @@22 "_comment_audio_capture": "Firefox does not honor the Chrome 'audioCapture' optional_permission — getUserMedia in WebExtensions is gated solely by the runtime permission prompt. Microphone access for chirp pairing works from the popup under the existing '<all_urls>' host permission; no manifest entry is required or accepted here.",33 "manifest_version": 3,44 "name": "Peach",5- "version": "3.6.50",5+ "version": "3.6.51",66 "description": "Zero-knowledge password manager",77 "browser_specific_settings": {88 "gecko": {manifest.json+1 −1
@@ -1,7 +1,7 @@11 {22 "manifest_version": 3,33 "name": "Peach",4- "version": "3.6.50",4+ "version": "3.6.51",55 "description": "Zero-knowledge password manager",66 "action": {77 "default_popup": "src/popup/index.html",package.json+1 −1
@@ -1,6 +1,6 @@11 {22 "name": "peach",3- "version": "3.6.50",3+ "version": "3.6.51",44 "description": "Zero-knowledge password manager",55 "type": "module",66 "scripts": {src/popup/styles/vars.css+6 −5
@@ -232,13 +232,14 @@232232 [data-text-size="small"] { --peach-text-scale: 0.92; }233233 [data-text-size="medium"] { --peach-text-scale: 1; }234234 [data-text-size="large"] { --peach-text-scale: 1.08; }235-/* Zoom on html (not body) for both sizes so Chrome auto-resizes the popup236- window in both directions. Keep the fixed 320×520 surfaces at their237- natural dimensions; pre-expanding them defeats the visible small setting238- and prevents large from using the enlarged popup surface. */235+/* large: zoom on html so Chrome auto-expands the popup frame to 346×561px.236+ small: zoom on body (not html) so html still fills the 320px frame —237+ avoids the black strip that appears when the popup is already open and238+ the user switches size; html background (#0C0A06) matches body background239+ and covers the gap invisibly. */239240 html { background: var(--bg); }240241 html[data-text-size="large"] { zoom: 1.08; }241-html[data-text-size="small"] { zoom: 0.92; }242+html[data-text-size="small"] body { zoom: 0.92; }242243 243244 /* ─── Reduced motion ───────────────────────────────────────────────────244245 User-explicit setting OR OS-level prefers-reduced-motion both collapse