Commit 949b0136 authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

change display product

parent 29e48e51
......@@ -44,7 +44,7 @@ export default function ProductCard({
>
<CardMedia
sx={{ pt: 1 }}
className="rounded"
className="rounded object-contain"
component={"img"}
height={150}
image={product.image.length ? product.image : "/empty.jpg"}
......
......@@ -74,7 +74,7 @@ export default function Stock() {
<h5 className="h-[40px] overflow-y-hidden">{product.name}</h5>
</Box>
<CardMedia
className="rounded"
className="rounded object-contain"
component={"img"}
height={150}
image={product.image.length ? product.image : "/empty.jpg"}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment