From f8df16f04317c09c434cf89fe64031f6cf3aa868 Mon Sep 17 00:00:00 2001 From: evavirseda Date: Sat, 19 Aug 2023 19:01:21 +0200 Subject: [PATCH] feat: cleanup `QR` (#7231) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: cleanup QR * fix: remove unnecessary styles * fix * styles: center qr in its container * chore: cleanup code --------- Co-authored-by: Begoña Álvarez de la Cruz Co-authored-by: JCNoguera <88061365+VmMad@users.noreply.github.com> Co-authored-by: Jean Carlo Noguera --- .../popups/ReceiveAddressPopup.svelte | 2 +- packages/shared/components/QR.svelte | 35 +++++-------------- .../buttons/ReceiveAddressButton.svelte | 2 +- 3 files changed, 10 insertions(+), 29 deletions(-) diff --git a/packages/desktop/components/popups/ReceiveAddressPopup.svelte b/packages/desktop/components/popups/ReceiveAddressPopup.svelte index bb98452eec0..526e9c2309d 100644 --- a/packages/desktop/components/popups/ReceiveAddressPopup.svelte +++ b/packages/desktop/components/popups/ReceiveAddressPopup.svelte @@ -11,7 +11,7 @@ {title}
- +
diff --git a/packages/shared/components/QR.svelte b/packages/shared/components/QR.svelte index ba3da739c09..7d4a5d50541 100644 --- a/packages/shared/components/QR.svelte +++ b/packages/shared/components/QR.svelte @@ -1,45 +1,26 @@ -
- {data} -
- - +{data} diff --git a/packages/shared/components/buttons/ReceiveAddressButton.svelte b/packages/shared/components/buttons/ReceiveAddressButton.svelte index 7b18979d0d9..dabbd88935b 100644 --- a/packages/shared/components/buttons/ReceiveAddressButton.svelte +++ b/packages/shared/components/buttons/ReceiveAddressButton.svelte @@ -21,7 +21,7 @@ on:click={onReceiveClick} > {localize('general.receiveFunds')} - +