style(DropdownMenu.tsx): change DropdownMenuRadioItem className to fix styling issue

This commit is contained in:
Daniel Avila 2023-06-11 16:34:42 -04:00 committed by Danny Avila
parent 9a965907a2
commit 3ff8d6f90b

View file

@ -120,8 +120,8 @@ const DropdownMenuRadioItem = React.forwardRef<
<DropdownMenuPrimitive.RadioItem
ref={ref}
className={cn(
'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm font-medium outline-none focus:bg-slate-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-gray-900',
className
className,
'relative flex cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm font-medium outline-none focus:bg-slate-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-gray-800'
)}
{...props}
>