From 674d5bae8a320cbab7938389be3cc1f4f87f32a9 Mon Sep 17 00:00:00 2001 From: Umar Bolatov Date: Fri, 16 Dec 2022 23:00:35 -0800 Subject: [PATCH] Make sure payment request print view doesn't show table header twice (#4447) --- .../Views/UIPaymentRequest/ViewPaymentRequest.cshtml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/BTCPayServer/Views/UIPaymentRequest/ViewPaymentRequest.cshtml b/BTCPayServer/Views/UIPaymentRequest/ViewPaymentRequest.cshtml index 8402094ad..cf934fff0 100644 --- a/BTCPayServer/Views/UIPaymentRequest/ViewPaymentRequest.cshtml +++ b/BTCPayServer/Views/UIPaymentRequest/ViewPaymentRequest.cshtml @@ -63,6 +63,11 @@ .invoice { margin-top: var(--btcpay-space-s); } .invoice + .invoice { margin-top: var(--btcpay-space-m); } .invoice .badge { font-size: var(--btcpay-font-size-s); } + + @@media print { + @* This is to avoid table header showing up twice: https://github.com/btcpayserver/btcpayserver/issues/4341 *@ + thead { display: table-row-group; } + }