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

On-Chain payments

- +
@@ -185,13 +198,17 @@ - @foreach(var payment in Model.OnChainPayments) + @foreach (var payment in Model.OnChainPayments) { var replaced = payment.Replaced ? "class='linethrough'" : ""; - - - - + + + + } @@ -200,7 +217,7 @@ } - @if(Model.OffChainPayments.Count > 0) + @if (Model.OffChainPayments.Count > 0) {
@@ -208,16 +225,16 @@
Crypto
@payment.Crypto@payment.DepositAddress@payment.TransactionId
@payment.Crypto@payment.DepositAddress + + @payment.TransactionId + + @payment.Confirmations
- + - @foreach(var payment in Model.OffChainPayments) + @foreach (var payment in Model.OffChainPayments) { - + } @@ -231,17 +248,17 @@
CryptoCrypto BOLT11
@payment.Crypto@payment.BOLT11@payment.BOLT11
- + @foreach (var address in Model.Addresses) { - var current = address.Current ? "class='font-weight-bold'" : ""; + var current = address.Current ? "font-weight-bold" : ""; - + }
Payment methodPayment method Address
@address.PaymentMethod@address.Destination@address.Destination