03f51fb1d371

fix: Keep pairing birds below the device header (v5.2.19)

time
2026-09-08 14:42 UTC · 1 month ago
machine
koh2
parent
c5c68565bc6e
5 files manifest.firefox.json+1 −1manifest.json+1 −1package.json+1 −1src/popup/styles/popup.css+1 −0src/popup/views/PairDevice.test.tsx+6 −0
manifest.firefox.json+1 −1
@@ -1,7 +1,7 @@11 {22   "manifest_version": 3,33   "name": "Peach Password Manager",4-  "version": "5.2.18",4+  "version": "5.2.19",55   "description": "Zero-knowledge password manager",66   "browser_specific_settings": {77     "gecko": {

view file

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.18",5+  "version": "5.2.19",66   "description": "Zero-knowledge password manager",77   "action": {88     "default_popup": "src/popup/index.html",

view file

package.json+1 −1
@@ -1,6 +1,6 @@11 {22   "name": "peach",3-  "version": "5.2.18",3+  "version": "5.2.19",44   "description": "Zero-knowledge password manager",55   "license": "GPL-3.0-only",66   "type": "module",

view file

src/popup/styles/popup.css+1 −0
@@ -7662,6 +7662,7 @@76627662 /* Bird stage ----------------------------------------------------------- */76637663 .peach-pair-stage {76647664   position: relative;7665+  flex-shrink: 0;76657666   height: 180px;76667667   margin: 8px auto 18px;76677668   width: 300px;

view file

src/popup/views/PairDevice.test.tsx+6 −0
@@ -10,6 +10,7 @@1010 //     fire ADOPTION_SOURCE_* pushes (bg → popup)1111 1212 import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";13+import { readFileSync } from "node:fs";1314 1415 // --- mock the background bridge (popup → bg) -------------------------------1516 const { mockSendMessage } = vi.hoisted(() => ({ mockSendMessage: vi.fn() }));@@ -74,6 +75,11 @@7475     cleanups.push(rendered.dispose);7576     return rendered;7677   }78+79+  it("keeps the bird stage from shrinking into the dialog header", () => {80+    const css = readFileSync("src/popup/styles/popup.css", "utf8");81+    expect(css).toMatch(/\.peach-pair-stage\s*\{[^}]*flex-shrink:\s*0/s);82+  });7783 7884   it("opens the relay room before rendering one source QR", async () => {7985     const { container } = mount();

view file