Skip to content

Commit

Permalink
Add hover effect on Activities card
Browse files Browse the repository at this point in the history
  • Loading branch information
Amitpawar88 committed May 16, 2023
1 parent 881ee64 commit 5e19351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/GetActivities.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const GetActivities = () => (
event.isActive && (
<div
key={idx}
className="hov-bg-theme m-5 h-auto rounded-xl bg-[#f1f5f9] p-5 text-black shadow-md relative transition-all ease-out xl:w-[380px]"
className="hov-bg-theme m-5 h-full w-[330px] rounded-xl bg-[#f1f5f9] p-5 text-black shadow-md transition-all ease-out hover:-translate-y-1 xl:w-[380px]"
>
<div>
<h2 className="title mt-5 text-2xl">{event.name}</h2>
Expand Down

0 comments on commit 5e19351

Please sign in to comment.