Improve NIP-46 QR code visibility

This commit is contained in:
thePR0M3TH3AN committed 2025-10-21 22:08:24 -04:00
1 parent a0d4c86ab4
commit 887e09fb6f
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;