Skip to content

Commit

Permalink
fix(ThemeCard): update class names to fix pointer events handling
Browse files Browse the repository at this point in the history
  • Loading branch information
chimpdev committed Oct 25, 2024
1 parent ddcc715 commit fa50bf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/app/(themes)/themes/components/ThemeCard/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export default function ThemeCard({ id, primaryColor, secondaryColor }) {
return (
<Container
className={cn(
'relative pointer-events-none select-none h-[255px] w-[220px] overflow-y-hidden rounded-xl transition-all',
id && 'hover:border-purple-500 hover:opacity-80 border-2 border-primary'
'relative h-[255px] w-[220px] overflow-y-hidden rounded-xl transition-all',
id ? 'hover:border-purple-500 hover:opacity-80 border-2 border-primary' : 'pointer-events-none select-none'
)}
href={`/themes/${id}`}
>
Expand Down

0 comments on commit fa50bf9

Please sign in to comment.