Skip to content

Commit

Permalink
fix overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinEmanuelMaldonado93 committed May 5, 2023
1 parent 3d4a855 commit 5eed84b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/featured/Featured.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function Featured() {
}}
initial={'hidde'}
whileInView={'show'}
className='flex sm:flex-wrap md:justify-between gap-2 my-4 z-0'
className='flex gap-2 p-4 my-4 z-0 sm:flex-wrap md:justify-between '
>
{featuredData?.map((hotel, i) => (
<motion.div
Expand All @@ -34,7 +34,7 @@ function Featured() {
},
},
}}
whileHover={{ scale: 1.1 }}
whileHover={{ scale: 1.06 }}
key={uuid()}
className='sm:translate-x-0 bg-base-100 shadow-lg box-border min-w-[10rem] max-w-[10rem] sm:max-w-[15rem]'
>
Expand Down

0 comments on commit 5eed84b

Please sign in to comment.