From aeae3c3825f419bc3e2c5d1ccb8cafa9bb8de3fe Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Sun, 25 Jul 2021 04:16:01 -0300 Subject: [PATCH] Add hover animations --- src/address/Contracts.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/address/Contracts.tsx b/src/address/Contracts.tsx index b0d7e47..5fd1d1b 100644 --- a/src/address/Contracts.tsx +++ b/src/address/Contracts.tsx @@ -77,7 +77,7 @@ const Contracts: React.FC = ({ checksummedAddress }) => { className={`border-b-2 border-transparent rounded-t text-sm px-2 py-1 ${ selected === k ? "border-orange-300 font-bold bg-gray-200 text-gray-500" - : "bg-gray-100 text-gray-400 transform origin-bottom scale-95" + : "hover:border-orange-200 bg-gray-100 hover:text-gray-500 text-gray-400 transition-transform transition-colors duration-75 transform origin-bottom scale-95 hover:scale-100" }`} onClick={() => setSelected(k)} >