Skip to content

Commit

Permalink
refactor: Update DropdownMenuItem component with improved cursor beha…
Browse files Browse the repository at this point in the history
…vior
  • Loading branch information
HasanYahya101 committed Sep 12, 2024
1 parent 53f2a98 commit 36f0706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ui/dropdown-menu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const DropdownMenuItem = React.forwardRef(({ className, inset, ...props }, ref)
<DropdownMenuPrimitive.Item
ref={ref}
className={cn(
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
"relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
inset && "pl-8",
className
)}
Expand Down

0 comments on commit 36f0706

Please sign in to comment.