Skip to content

Commit

Permalink
fix hovering styles button
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneleon1 committed Jun 21, 2024
1 parent 48407a3 commit 0b08f32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/form/HSButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function HSButton({
rel="noopener noreferrer"
to={path!}
onClick={click}
className={`${styles} bg-primary text-white px-6 py-3 rounded-md flex justify-center items-center gap-2 text-sm hover:text-gray-200 hover:shadow-lg hover:scale-105 transition-all duration-300 ease-in-out`}
className={`${styles} bg-primary text-white px-6 py-3 rounded-md flex justify-center items-center gap-2 text-sm active:scale-[.98] active:duration-75 hover:scale-[1.01] ease-in transition-all`}
>
{title} {icon}
</Link>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ function Login() {
<div className="w-full bg-grayLight h-[1px]"></div>
</div>
<div className="flex items-center justify-center gap-4">
<div className="bg-[white] w-12 h-12 rounded-full border-2 flex items-center justify-center cursor-pointer hover:scale-105 transition-all duration-300 ease-in-out">
<div className="bg-[white] w-12 h-12 rounded-full border-2 flex items-center justify-center cursor-pointer active:scale-[.98] active:duration-75 hover:scale-105 ease-in-out transition-all">
<FcGoogle />
</div>
<div className="bg-[#335CA6] w-12 h-12 rounded-full flex items-center justify-center cursor-pointer hover:scale-105 transition-all duration-300 ease-in-out">
<div className="bg-[#335CA6] w-12 h-12 rounded-full flex items-center justify-center cursor-pointer active:scale-[.98] active:duration-75 hover:scale-105 ease-in-out transition-all">
<FaFacebook color="white" size={16} />
</div>
</div>
Expand Down

0 comments on commit 0b08f32

Please sign in to comment.