From 470ec3354eae2142c94ebfcb71d2910848b77af5 Mon Sep 17 00:00:00 2001 From: rockstardev Date: Sat, 9 Mar 2019 09:26:09 -0600 Subject: [PATCH] Rendering QR code only if there is data, plus loading indicator --- BTCPayServer/Views/Invoice/Checkout-Body.cshtml | 15 +++++++++++---- BTCPayServer/wwwroot/checkout/css/normalizer.css | 2 ++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/BTCPayServer/Views/Invoice/Checkout-Body.cshtml b/BTCPayServer/Views/Invoice/Checkout-Body.cshtml index 1b2bfaf71..87003ee1f 100644 --- a/BTCPayServer/Views/Invoice/Checkout-Body.cshtml +++ b/BTCPayServer/Views/Invoice/Checkout-Body.cshtml @@ -192,7 +192,7 @@
-
+
- - + + + + +
+ +
-
+
{{$t("Open in wallet")}} diff --git a/BTCPayServer/wwwroot/checkout/css/normalizer.css b/BTCPayServer/wwwroot/checkout/css/normalizer.css index adb85fe23..6fc39efc7 100644 --- a/BTCPayServer/wwwroot/checkout/css/normalizer.css +++ b/BTCPayServer/wwwroot/checkout/css/normalizer.css @@ -9444,6 +9444,8 @@ strong { .payment__scan { position: relative; text-align: center; + height: 256px; + margin-bottom: 5px; } .payment__scan__checkmark-wrapper {