Skip to content

Commit

Permalink
increased the width of product card for small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishektiwari47 committed Dec 2, 2023
1 parent c49583d commit 74fbfc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/client/src/components/visitor/ProductCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function ProductCard(allProducts:{data:Product,userId:string}){

const userBidAmount = getUserBid(data.bids, userId);
console.log(userId)
return <div key={data._id} className="card mx-auto mb-10 rounded-md overflow-hidden w-[80%] sm:w-[60%] lg:w-[60%]" style={{boxShadow:"0 1px 2px 0", backgroundColor:"#F0EDED",
return <div key={data._id} className="card mx-auto mb-10 rounded-md overflow-hidden w-[95%] sm:w-[60%] lg:w-[60%]" style={{boxShadow:"0 1px 2px 0", backgroundColor:"#F0EDED",
}}>
<img className="" src={data.image.toString()} alt="Avatar" style={{height:"14em",width:"30em"}}/>
<div className="container inline-grid grid-cols-2 px-3 py-2">
Expand Down

0 comments on commit 74fbfc2

Please sign in to comment.