Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
fix(IR-37-46): fixed order of disabled buttton classes (#10965)
Browse files Browse the repository at this point in the history
  • Loading branch information
kattsushi authored Aug 15, 2024
1 parent 939d834 commit 68e56c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/primitives/tailwind/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
sizes[size],
fullWidth ? 'w-full' : 'w-fit',
roundedTypes[rounded],
variants[variant],
disabled ? 'bg-[#F3F4F6] text-[#9CA3AF] dark:bg-[#5F7DBF] dark:text-[#FFFFFF]' : '',
variants[variant],
className
)

Expand Down

0 comments on commit 68e56c4

Please sign in to comment.