fix(35-03): add cursor-pointer to ItemCard navigable case
- Add cursor-pointer to the non-null linkTo branch of the outer button - Preserve cursor-default for the null linkTo branch (setup cards)
This commit is contained in:
@@ -75,7 +75,7 @@ export function ItemCard({
|
||||
<button
|
||||
type="button"
|
||||
onClick={handleClick}
|
||||
className={`relative w-full text-left bg-white rounded-xl border border-gray-100 transition-all overflow-hidden group ${linkTo === null ? "cursor-default" : "hover:border-gray-200 hover:shadow-sm"}`}
|
||||
className={`relative w-full text-left bg-white rounded-xl border border-gray-100 transition-all overflow-hidden group ${linkTo === null ? "cursor-default" : "cursor-pointer hover:border-gray-200 hover:shadow-sm"}`}
|
||||
>
|
||||
{!onRemove && (
|
||||
<span
|
||||
|
||||
Reference in New Issue
Block a user