Merge pull request #781 from PR0M3TH3AN/codex/add-padding-and-enlarge-qr-code

Improve NIP-46 QR code readability
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2025-10-21 22:08:37 -04:00
commit 9e37687b78
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -254,11 +254,11 @@
<div data-nip46-handshake-panel class="space-y-3">
<div class="flex flex-col gap-4 sm:flex-row sm:items-start">
<div
class="flex h-48 w-48 items-center justify-center rounded-lg border border-border-strong bg-bg-muted"
class="flex aspect-square w-full max-w-xs items-center justify-center rounded-xl border border-border-strong bg-surface p-4 sm:max-w-sm sm:flex-none sm:p-6"
data-nip46-qr
aria-hidden="true"
>
<div class="text-center text-xs text-text-muted">
<div class="w-full text-center text-sm text-text-muted">
Generating connect code…
</div>
</div>
+2 -2
View File
@@ -933,8 +933,8 @@ export default class LoginModalController {
if (uri) {
try {
qrInstance = renderQrCode(qrContainer, uri, {
width: 224,
height: 224,
width: 256,
height: 256,
});
} catch (error) {
qrInstance = null;