diff --git a/resources/views/segments/products/PedramProducts/PedramProducts.blade.php b/resources/views/segments/products/PedramProducts/PedramProducts.blade.php index f1ccd25..63745e0 100644 --- a/resources/views/segments/products/PedramProducts/PedramProducts.blade.php +++ b/resources/views/segments/products/PedramProducts/PedramProducts.blade.php @@ -29,7 +29,7 @@
{{$product->name}} - + {{$product->getPrice()}}

diff --git a/resources/views/segments/products/PedramProducts/PedramProducts.scss b/resources/views/segments/products/PedramProducts/PedramProducts.scss index 3674fb6..5c75d08 100644 --- a/resources/views/segments/products/PedramProducts/PedramProducts.scss +++ b/resources/views/segments/products/PedramProducts/PedramProducts.scss @@ -88,6 +88,7 @@ top: 1rem; position: absolute; font-size: 20px; + color: var(--xshop-secondary); } h4 { @@ -124,4 +125,22 @@ position: relative; } } + +} +/*-600px width*/ +@media (max-width: 600px) { + + .PedramProducts { + .price { + position: absolute; + bottom: 1rem; + inset-inline-end: 1rem; + top: auto !important; + background: var(--xshop-background); + padding: 4px 10px 0 ; + border: 1px solid var(--xshop-secondary); + border-radius: var(--xshop-border-radius); + } + } + }