fixed responsive ui

master
A1Gard 3 days ago
parent 6934eb95af
commit 042a4d6d75

@ -29,7 +29,7 @@
<div class="col-lg-6"> <div class="col-lg-6">
<a class="pedi-product" href="{{$product->webUrl()}}"> <a class="pedi-product" href="{{$product->webUrl()}}">
<img src="{{$product->thumbUrl()}}" alt="{{$product->name}}" class="float-start"> <img src="{{$product->thumbUrl()}}" alt="{{$product->name}}" class="float-start">
<span> <span class="price">
{{$product->getPrice()}} {{$product->getPrice()}}
</span> </span>
<h4> <h4>

@ -88,6 +88,7 @@
top: 1rem; top: 1rem;
position: absolute; position: absolute;
font-size: 20px; font-size: 20px;
color: var(--xshop-secondary);
} }
h4 { h4 {
@ -124,4 +125,22 @@
position: relative; 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);
}
}
} }

Loading…
Cancel
Save