From b8efde379de019424ec45c7051853347dc09b21f Mon Sep 17 00:00:00 2001 From: supercolbat Date: Sat, 5 Aug 2023 08:02:48 -0500 Subject: [PATCH] UX changes Clicking on cryptocurrency QR codes open the images in a new tab Changed the `details` selector `summary` in `src/app.css` to fix unintended behavior --- src/app.css | 2 +- src/routes/donate/+page.svelte | 3 +++ src/routes/donate/CryptoInfo.svelte | 17 ++++++++++++----- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/src/app.css b/src/app.css index a0bb872..c1fa756 100644 --- a/src/app.css +++ b/src/app.css @@ -69,7 +69,7 @@ h4 { @apply text-xl font-bold my-8; } -details { +summary { @apply cursor-pointer; } diff --git a/src/routes/donate/+page.svelte b/src/routes/donate/+page.svelte index 4bbaa03..59f7109 100644 --- a/src/routes/donate/+page.svelte +++ b/src/routes/donate/+page.svelte @@ -49,6 +49,7 @@

Monero

@@ -56,6 +57,7 @@

Bitcoin

@@ -63,6 +65,7 @@

Litecoin

diff --git a/src/routes/donate/CryptoInfo.svelte b/src/routes/donate/CryptoInfo.svelte index b6df5b2..1784757 100644 --- a/src/routes/donate/CryptoInfo.svelte +++ b/src/routes/donate/CryptoInfo.svelte @@ -1,4 +1,5 @@ @@ -13,10 +14,16 @@ {#if qr}
QR code - QR code + + QR code to {name} address +
{/if}