Add hover animations

This commit is contained in:
Willian Mitsuda 2021-07-25 04:16:01 -03:00
parent 65ee6e9182
commit aeae3c3825
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ const Contracts: React.FC<ContractsProps> = ({ 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)}
>