Skip to content

Commit

Permalink
Improve transition on ToolCard component
Browse files Browse the repository at this point in the history
  • Loading branch information
walidkayhan committed Feb 18, 2025
1 parent cf28acc commit 6756e55
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/src/components/ToolCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ type ToolCardProps = {
const ToolCard = ({ title, description, icon: Icon, link }: ToolCardProps) => {
return (
<Link to={link}>
<Card className="hover:bg-gray-300 bg-gray-100 cursor-pointer p-4 flex flex-col items-center justify-between text-center gap-4 min-h-48 transition-colors duration-300 ease-in-out transform hover:scale-[1.02] h-full">
<Card
className="hover:bg-gray-300 bg-gray-100 cursor-pointer p-4
flex flex-col items-center justify-between text-center gap-4 min-h-48
transition-all duration-300 ease-in-out hover:scale-[1.02] h-full"
>
<CardTitle>{title}</CardTitle>

<CardDescription className="text-sm text-gray-500">
Expand Down

0 comments on commit 6756e55

Please sign in to comment.