ded0193884b0
fix: Fit pairing birds and QR without scrolling (v5.2.20)
- time
- 2026-09-08 15:03 UTC · 1 month ago
- machine
- koh2
- parent
- 03f51fb1d371
↓ peach-browser-ded01938.tar.gzatlas at this save
files changed5 files
manifest.firefox.json+1 −1manifest.json+1 −1package.json+1 −1src/popup/styles/popup.css+2 −2src/popup/views/PairDevice.test.tsx+3 −2manifest.firefox.json+1 −1
@@ -1,7 +1,7 @@11 {22 "manifest_version": 3,33 "name": "Peach Password Manager",4- "version": "5.2.19",4+ "version": "5.2.20",55 "description": "Zero-knowledge password manager",66 "browser_specific_settings": {77 "gecko": {manifest.json+1 −1
@@ -2,7 +2,7 @@22 "manifest_version": 3,33 "minimum_chrome_version": "116",44 "name": "Peach Password Manager",5- "version": "5.2.19",5+ "version": "5.2.20",66 "description": "Zero-knowledge password manager",77 "action": {88 "default_popup": "src/popup/index.html",package.json+1 −1
@@ -1,6 +1,6 @@11 {22 "name": "peach",3- "version": "5.2.19",3+ "version": "5.2.20",44 "description": "Zero-knowledge password manager",55 "license": "GPL-3.0-only",66 "type": "module",src/popup/styles/popup.css+2 −2
@@ -7662,8 +7662,8 @@76627662 /* Bird stage ----------------------------------------------------------- */76637663 .peach-pair-stage {76647664 position: relative;7665- flex-shrink: 0;7666- height: 180px;7665+ flex: 0 0 108px;7666+ height: 108px;76677667 margin: 8px auto 18px;76687668 width: 300px;76697669 display: flex;src/popup/views/PairDevice.test.tsx+3 −2
@@ -76,9 +76,10 @@7676 return rendered;7777 }7878 79- it("keeps the bird stage from shrinking into the dialog header", () => {79+ it("reserves exactly the bird height without shrinking or adding dead space", () => {8080 const css = readFileSync("src/popup/styles/popup.css", "utf8");81- expect(css).toMatch(/\.peach-pair-stage\s*\{[^}]*flex-shrink:\s*0/s);81+ expect(css).toMatch(/\.peach-pair-stage\s*\{[^}]*flex:\s*0 0 108px/s);82+ expect(css).toMatch(/\.peach-pair-stage\s*\{[^}]*height:\s*108px/s);8283 });8384 8485 it("opens the relay room before rendering one source QR", async () => {