Commit 7c06b404 authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

update image show product

parent 949b0136
......@@ -44,14 +44,14 @@ export default function ProductCard({
>
<CardMedia
sx={{ pt: 1 }}
className="rounded object-contain"
className="rounded-lg object-contain"
component={"img"}
height={150}
height={250}
image={product.image.length ? product.image : "/empty.jpg"}
/>
<CardContent sx={{ px: 1 }}>
<Box sx={{ px: 1 }}>
<h5 className="h-[40px] overflow-y-hidden">{product.name}</h5>
<h5 className="h-[20px] overflow-y-hidden">{product.name}</h5>
</Box>
<Typography
sx={{ height: 70, overflowY: "scroll" }}
......
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