Commit 43419890 authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

margin on product preview

parent b732c9d0
import React, { useContext, useState } from "react"; import React from "react";
import { import {
Card,
Box, Box,
CardContent, CardContent,
CardMedia, CardMedia,
...@@ -10,11 +9,8 @@ import { ...@@ -10,11 +9,8 @@ import {
} from "@mui/material"; } from "@mui/material";
import { Favorite } from "@mui/icons-material"; import { Favorite } from "@mui/icons-material";
import { FavoriteBorder } from "@mui/icons-material"; import { FavoriteBorder } from "@mui/icons-material";
import { ProductionQuantityLimits } from "@mui/icons-material";
import { AddShoppingCart } from "@mui/icons-material";
import { ShoppingCart } from "@mui/icons-material"; import { ShoppingCart } from "@mui/icons-material";
import { RemoveShoppingCart } from "@mui/icons-material"; import { RemoveShoppingCart } from "@mui/icons-material";
import { UserContext } from "@/pages/_app";
export default function ProductCard({ export default function ProductCard({
product, product,
...@@ -33,7 +29,7 @@ export default function ProductCard({ ...@@ -33,7 +29,7 @@ export default function ProductCard({
*/ */
return ( return (
<div <div
className="p-1 m-1 w-[300px] mx-auto inline-block bg-white rounded hover:shadow duration-300" className="p-1 my-3 w-[300px] mx-auto inline-block bg-white rounded hover:shadow duration-300"
sx={{ sx={{
m: 1, m: 1,
px: 1, px: 1,
......
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