fix(website): render phone mockups correctly in Safari (#4990)

* fix(website): render phone mockups correctly in Safari

Replace trigonometric CSS scaling with measured numeric ratios after Safari placed phone content outside its clipped frames. Scale desktop mockup corners with the frame so they remain proportional on mobile.

* test(website): expose the website browser test suite

* test(website): run mockup regressions in CI
This commit is contained in:
Mohamed Boudra
2026-09-17 10:15:15 +02:00
committed by GitHub
parent 6830c46e9a
commit 1e4ba65c6d
8 changed files with 165 additions and 41 deletions
+6
View File
@@ -120,6 +120,12 @@ jobs:
- name: Typecheck all packages
run: npm run typecheck
- name: Install website test browsers
run: npx playwright install --with-deps chromium webkit
- name: Verify website mockups
run: npm run test:e2e --workspace=@getpaseo/website
- name: Verify public package contents
run: |
npm pack --dry-run --ignore-scripts --workspace=@getpaseo/protocol