feat: harmonize the UI for payment dialog (#2882)

This commit is contained in:
Tiago Vasconcelos
2025-01-16 14:31:33 +02:00
committed by GitHub
parent 16c78f1901
commit f415a92914
7 changed files with 235 additions and 159 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -1
View File
@@ -535,12 +535,13 @@ video {
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
}
.qrcode__wrapper canvas {
width: 100% !important;
height: 100% !important;
max-width: 350px;
max-width: 320px;
}
.qrcode__image {
+1
View File
@@ -94,6 +94,7 @@ window.localisation.en = {
invoice_waiting: 'Invoice waiting to be paid',
payment_received: 'Payment Received',
payment_sent: 'Payment Sent',
payment_failed: 'Payment Failed',
receive: 'receive',
send: 'send',
outgoing_payment_pending: 'Outgoing payment pending',
+2 -1
View File
@@ -212,11 +212,12 @@ video {
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
}
.qrcode__wrapper canvas {
width: 100% !important; // important to override qrcode inline width
height: 100% !important;
max-width: 350px; // default width of <lnbits-qrcode> component
max-width: 320px; // default width of <lnbits-qrcode> component
}
.qrcode__image {
position: absolute;