Skip to content

Commit d1e75c7

Browse files
refactor(tailwind/Checkbox): center flex the indicator
1 parent 1a91d09 commit d1e75c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tailwind/ui/Checkbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const Checkbox = React.forwardRef<
2020
)}
2121
{...props}
2222
>
23-
<CheckboxPrimitive.Indicator>
23+
<CheckboxPrimitive.Indicator className="flex items-center justify-center">
2424
<RxCheck className="text-sm" />
2525
</CheckboxPrimitive.Indicator>
2626
</CheckboxPrimitive.Root>

0 commit comments

Comments
 (0)