diff --git a/app/furniture/marketplace/cart_product_component.html.erb b/app/furniture/marketplace/cart_product_component.html.erb index f69b0107a..8af527a27 100644 --- a/app/furniture/marketplace/cart_product_component.html.erb +++ b/app/furniture/marketplace/cart_product_component.html.erb @@ -1,10 +1,10 @@ <%- if product.photo.present? %> -
- <%= image_tag product.photo.variant(resize_to_limit: [150, 150]).processed.url, class: "rounded-lg" +
+ <%= image_tag product.photo.variant(resize_to_limit: [150, 150]).processed.url, class: "mx-auto h-40 overflow-hidden object-center rounded-lg" %> -
+
<%=product.name%>