Add a hover to the category selector

This commit is contained in:
Austin Chen 2022-05-12 13:47:07 -04:00
parent c2f8aee89e
commit 25d3fbcc5f

View File

@ -63,7 +63,7 @@ function CategoryButton(props: {
return ( return (
<div <div
className={clsx( className={clsx(
'rounded-full border-2 px-4 py-1 shadow-md', 'rounded-full border-2 px-4 py-1 shadow-md hover:bg-gray-200',
'cursor-pointer select-none', 'cursor-pointer select-none',
isFollowed ? 'border-gray-300 bg-gray-300' : 'bg-white' isFollowed ? 'border-gray-300 bg-gray-300' : 'bg-white'
)} )}