Skip to content

Commit

Permalink
Fix button icon animation
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-kl1 committed Feb 4, 2025
1 parent e241c89 commit 26d8eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ButtonLink/ButtonLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const ButtonLink = ({
: "gap-3 ";

const renderContent = (content: ReactNode) => {
const iconClassName: string = "inline-block p-1 rounded-full";
const iconClassName: string = "inline-block p-1 rounded-full duration-300";
const contentClassName: string = variant === "primary"
? "flex-1 bg-none bg-cover bg-center bg-clip-text group-hover:bg-gradient-to-r group-hover:from-pink-500 group-hover:to-violet-500 group-hover:text-transparent"
: "flex-1";
Expand Down

0 comments on commit 26d8eb6

Please sign in to comment.