From 6d288271cd69f270cb50e1196c3a54601f31843b Mon Sep 17 00:00:00 2001 From: d11n Date: Tue, 21 Nov 2023 10:13:26 +0100 Subject: [PATCH] Unify public page styles (#5462) Based on #5413 and needs it to get merged first. - Uses `--wrap-max-width` on `.public-page-wrap` rather than inner `.container` classes - Applies `.tile` class to boxes and makes them connect to the edge of the screen below `400px` width. --- .../Crowdfund/Public/ViewCrowdfund.cshtml | 5 +- .../Shared/PointOfSale/Public/Cart.cshtml | 4 +- .../Shared/PointOfSale/Public/Light.cshtml | 2 +- .../Shared/PointOfSale/Public/Print.cshtml | 2 +- .../Shared/PointOfSale/Public/Static.cshtml | 2 +- .../Shared/PointOfSale/Public/VueLight.cshtml | 2 +- BTCPayServer/Views/UIForms/View.cshtml | 8 +- .../Views/UIInvoice/Checkout-Cheating.cshtml | 2 +- .../Views/UIInvoice/CheckoutV2.cshtml | 2 +- .../Views/UIInvoice/InvoiceReceipt.cshtml | 240 +++++++++--------- BTCPayServer/wwwroot/checkout-v2/checkout.css | 16 +- BTCPayServer/wwwroot/main/site.css | 12 +- BTCPayServer/wwwroot/pos/cart.css | 5 +- BTCPayServer/wwwroot/pos/common.css | 5 + BTCPayServer/wwwroot/pos/keypad.css | 11 +- BTCPayServer/wwwroot/pos/keypad.js | 2 +- 16 files changed, 155 insertions(+), 165 deletions(-) diff --git a/BTCPayServer/Views/Shared/Crowdfund/Public/ViewCrowdfund.cshtml b/BTCPayServer/Views/Shared/Crowdfund/Public/ViewCrowdfund.cshtml index da3ee2356..e3740d633 100644 --- a/BTCPayServer/Views/Shared/Crowdfund/Public/ViewCrowdfund.cshtml +++ b/BTCPayServer/Views/Shared/Crowdfund/Public/ViewCrowdfund.cshtml @@ -29,6 +29,7 @@ @Safe.Raw($"") } -
+
@if (!string.IsNullOrEmpty(Model.StoreName) || !string.IsNullOrEmpty(Model.LogoFileId)) { @@ -23,14 +23,14 @@ {

@ViewData["Title"]

} -
+
@if (!ViewContext.ModelState.IsValid) {
}
-
+
@if (string.IsNullOrEmpty(Model.AspAction)) {
diff --git a/BTCPayServer/Views/UIInvoice/Checkout-Cheating.cshtml b/BTCPayServer/Views/UIInvoice/Checkout-Cheating.cshtml index 3e66a894a..d9f242be2 100644 --- a/BTCPayServer/Views/UIInvoice/Checkout-Cheating.cshtml +++ b/BTCPayServer/Views/UIInvoice/Checkout-Cheating.cshtml @@ -3,7 +3,7 @@ -
+

diff --git a/BTCPayServer/Views/UIInvoice/CheckoutV2.cshtml b/BTCPayServer/Views/UIInvoice/CheckoutV2.cshtml index 72fdaa1ce..823ac0418 100644 --- a/BTCPayServer/Views/UIInvoice/CheckoutV2.cshtml +++ b/BTCPayServer/Views/UIInvoice/CheckoutV2.cshtml @@ -47,7 +47,7 @@ { } -
+