From: soufiane Date: Wed, 19 Jul 2023 14:14:06 +0000 (+0200) Subject: wait #5788 @1:40 qa + correction du responsive X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=d1d417e1b47a8d56bb3aab5d2f4a29d9ca2fd29c;p=pmi.git wait #5788 @1:40 qa + correction du responsive --- diff --git a/resources/styles/components/cart.styl b/resources/styles/components/cart.styl index 7218958..70eee80 100644 --- a/resources/styles/components/cart.styl +++ b/resources/styles/components/cart.styl @@ -79,6 +79,7 @@ form label padding-left: 20px !important + width 100% [type="radio"] width: 16px !important @@ -164,7 +165,8 @@ margin-bottom: 24px &-grid - grid-template-columns: 96px 1fr !important + +above(767px) + grid-template-columns: 96px 1fr !important &-footer padding: 48px 0 diff --git a/resources/styles/components/modal-confirm.styl b/resources/styles/components/modal-confirm.styl index 63c7bce..e6686d9 100644 --- a/resources/styles/components/modal-confirm.styl +++ b/resources/styles/components/modal-confirm.styl @@ -28,6 +28,9 @@ &-close top: 24px right: 24px + +below(768px) + top: 6px + right 15px &:after content: "" width: 100% diff --git a/resources/views/components/item-cart-order.blade.php b/resources/views/components/item-cart-order.blade.php index 5a63cf0..3d38172 100644 --- a/resources/views/components/item-cart-order.blade.php +++ b/resources/views/components/item-cart-order.blade.php @@ -17,10 +17,10 @@ @if($item['products']) @foreach(json_decode($item['products'], true) as $key => $product) -
-
+

{{ $product['reference'].'|'.$product['ref'] }}

{{ $product['name'] }}

@@ -47,7 +47,10 @@
@if(floatval($product['price'])) -

{{ number_format($product['price'] * $product['quantity'], 2) }}€ HT

+

+ + {{ number_format($product['price'] * $product['quantity'], 2) }}€ HT +

@else

N/A diff --git a/resources/views/components/item-cart.blade.php b/resources/views/components/item-cart.blade.php index 42e106d..cba444b 100644 --- a/resources/views/components/item-cart.blade.php +++ b/resources/views/components/item-cart.blade.php @@ -11,9 +11,9 @@

@foreach(json_decode($item['products'], true) as $key => $product) -
+
-
+

{{ $product['ref'] }}

{{ $product['name'] }}

@@ -40,7 +40,10 @@
@if(floatval($product['price'])) @php($price = $product['price'] - (($product['price'] * $product['discount']) / 100)) -

{{ number_format($price * $product['quantity'], 2) }}€ HT

+

+ + {{ number_format($price * $product['quantity'], 2) }}€ HT +

@else

N/A @@ -63,20 +66,20 @@

@endif
-
+
- diff --git a/resources/views/components/modal-confirm.blade.php b/resources/views/components/modal-confirm.blade.php index d7c8257..2d3a29f 100644 --- a/resources/views/components/modal-confirm.blade.php +++ b/resources/views/components/modal-confirm.blade.php @@ -1,7 +1,7 @@