diff --git a/BTCPayServer/Views/Invoice/Invoice.cshtml b/BTCPayServer/Views/Invoice/Invoice.cshtml index 1fecc4b14..3da1467ae 100644 --- a/BTCPayServer/Views/Invoice/Invoice.cshtml +++ b/BTCPayServer/Views/Invoice/Invoice.cshtml @@ -7,6 +7,15 @@ .linethrough { text-decoration: line-through; } + + .smMaxWidth { + max-width: 200px; + } + @@media (min-width: 768px) { + .smMaxWidth { + max-width: 400px; + } + }
@@ -170,12 +179,12 @@ - @if(Model.OnChainPayments.Count > 0) + @if (Model.OnChainPayments.Count > 0) {

On-Chain payments

- +
@@ -185,13 +194,17 @@ - @foreach(var payment in Model.OnChainPayments) + @foreach (var payment in Model.OnChainPayments) { var replaced = payment.Replaced ? "class='linethrough'" : ""; - - - - + + + + } @@ -200,7 +213,7 @@ } - @if(Model.OffChainPayments.Count > 0) + @if (Model.OffChainPayments.Count > 0) {
@@ -213,11 +226,11 @@
- @foreach(var payment in Model.OffChainPayments) + @foreach (var payment in Model.OffChainPayments) { - + } @@ -238,10 +251,10 @@ @foreach (var address in Model.Addresses) { - var current = address.Current ? "class='font-weight-bold'" : ""; + var current = address.Current ? "font-weight-bold" : ""; - + }
Crypto
@payment.Crypto@payment.DepositAddress@payment.TransactionId
@payment.Crypto@payment.DepositAddress + + @payment.TransactionId + + @payment.Confirmations
@payment.Crypto@payment.BOLT11@payment.BOLT11
@address.PaymentMethod@address.Destination@address.Destination