Skip to content

Commit

Permalink
fit 6 cards for large screens
Browse files Browse the repository at this point in the history
  • Loading branch information
patelnets committed Feb 21, 2024
1 parent 01afc2e commit 1438fa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/cards/Cards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ interface Product {
}
export const Cards = ({ products }: { products: Product[] }) => {
return (
<div className='gap-2 grid grid-cols-2 sm:grid-cols-4'>
<div className='gap-2 grid grid-cols-2 sm:grid-cols-4 lg:grid-cols-6'>
{products.map(({ name, id, stores }, index) => (
<Link key={id} href={`/product/${id}`}>
<Link className={'w-fit'} key={id} href={`/product/${id}`}>
<Card
className={'bg-light-cream'}
shadow='sm'
Expand Down

0 comments on commit 1438fa6

Please sign in to comment.