From 943bc38f85bcca75b03371dad6fa85760d04b5d1 Mon Sep 17 00:00:00 2001
From: Michael Danielczok <michael@pcsg.de>
Date: Tue, 4 Mar 2025 15:50:23 +0100
Subject: [PATCH] fix: properly defined parameters for the URL function

Related: quiqqer/order-simple-checkout#21
---
 src/QUI/ERP/Order/SimpleCheckout/Checkout.css  | 8 +++-----
 src/QUI/ERP/Order/SimpleCheckout/Checkout.html | 2 +-
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/QUI/ERP/Order/SimpleCheckout/Checkout.css b/src/QUI/ERP/Order/SimpleCheckout/Checkout.css
index fb74b92..862181b 100644
--- a/src/QUI/ERP/Order/SimpleCheckout/Checkout.css
+++ b/src/QUI/ERP/Order/SimpleCheckout/Checkout.css
@@ -157,12 +157,10 @@
     border: none;
 }
 
-.quiqqer-simple-checkout-basket__link {
-    font-size: 12px;
-    text-align: right;
+:where(.quiqqer-simple-checkout-basket__link) {
+    margin-top: 0.75rem;
+    display: inline-block;
     float: right;
-    margin-top: 10px;
-    margin-right: 10px;
 }
 
 /**************************/
diff --git a/src/QUI/ERP/Order/SimpleCheckout/Checkout.html b/src/QUI/ERP/Order/SimpleCheckout/Checkout.html
index b788b45..54c967b 100644
--- a/src/QUI/ERP/Order/SimpleCheckout/Checkout.html
+++ b/src/QUI/ERP/Order/SimpleCheckout/Checkout.html
@@ -117,7 +117,7 @@
                 </button>
 
                 {if $this->getAttribute('showBasketLink') && $BasketSite}
-                    <a href="{url Site=$BasketSite}" class="quiqqer-simple-checkout-basket__link">
+                    <a href="{url site=$BasketSite}" class="quiqqer-simple-checkout-basket__link">
                         {locale group="quiqqer/order" var="ordering.btn.backToBasket"}
                     </a>
                 {/if}
-- 
GitLab