Commit 4aaf4d3
authored
fix(qr): tighten container padding and force white background (#156)
* fix(qr): tighten container padding and force white background
Drop .yivi-qr-container padding from 10px to 4px and switch the
background from var(--pg-general-background) to white so the QR
keeps a high-contrast quiet zone in both light and dark mode.
* fix(qr): bump QR container to 320x320 in the popup
Match $qr-code-size from yivi-css so the QR renders at its full
intended size inside the desktop popup card.
* fix(qr): size container so QR pattern is exactly 320x320
Bump .yivi-qr-container from 320 to 330 (320 + 4 px padding +
1 px border on each side, with box-sizing: border-box) so the
QR SVG inside renders at the canonical $qr-code-size from yivi-css.
Also bumps @privacybydesign/yivi-css to ^1.0.0-beta.7, which carries
the canvas → SVG QR migration and the .yivi-web-centered fill rule.1 parent 91a46a1 commit 4aaf4d3
3 files changed
Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
| 78 | + | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments