Commit f7023329 authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

update styles product preview

parent 27be3440
......@@ -28,7 +28,8 @@ export default function ProductCard({ product, isFav, favHandler }) {
* @param {boolean} isRemove
*/
return (
<Card
<div
className="p-1 m-1 w-[300px] inline-block bg-white rounded hover:shadow duration-300"
sx={{
m: 1,
px: 1,
......@@ -89,6 +90,6 @@ export default function ProductCard({ product, isFav, favHandler }) {
</Box>
)}
</CardActions>
</Card>
</div>
);
}
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