Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NewstellerBot committed Mar 30, 2024
1 parent 6deec9b commit efb14b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/www/registry/new-york/ui/checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ const Checkbox = React.forwardRef<
)}
{...props}
>
<CheckboxPrimitive.Indicator className={cn("relative text-current")}>
<CheckboxPrimitive.Indicator
className={cn("relative flex items-center justify-center text-current")}
>
<CheckIcon className="absolute left-1/2 top-1/2 h-4 w-4 -translate-x-1/2 -translate-y-1/2" />
</CheckboxPrimitive.Indicator>
</CheckboxPrimitive.Root>
Expand Down

0 comments on commit efb14b3

Please sign in to comment.