fix: improve qr readability of alby payment integration (#18266)

* fix: optimize qr for better readability

* fix: optimize readability
This commit is contained in:
René Aaron authored and GitHub committed 2025-01-04 12:18:31 +01:00
1 parent 00334c5610
commit 6e293d2985
1 file changed
+4 -4
@@ -81,15 +81,15 @@ export const AlbyPaymentComponent = (props: IAlbyPaymentComponentProps) => {
{showQRCode && (
<>
<div className="flex items-center justify-center gap-2">
<p className="text-xs">Waiting for payment...</p>
<Spinner className="h-4 w-4" />
<p className="text-xs">Waiting for payment</p>
</div>
<p className="text-sm">Click or scan the invoice below to pay</p>
<Link
href={`lightning:${paymentRequest}`}
className="inline-flex items-center justify-center rounded-2xl rounded-md border border-transparent p-2
font-medium text-black shadow-sm hover:brightness-95 focus:outline-none focus:ring-offset-2">
<QRCode size={128} value={paymentRequest} />
className="inline-flex items-center justify-center rounded-2xl rounded-md border border-transparent p-2 bg-white
font-medium text-black shadow-sm hover:brightness-95 focus:outline-none focus:ring-offset-2 p-2">
<QRCode size={192} value={paymentRequest} />
</Link>
<Button