mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
Improve NIP-46 QR code visibility
This commit is contained in:
1 parent
a0d4c86ab4
commit
887e09fb6f
2 files changed
+4
-4
No files matched your search
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user