Skip to content

Commit

Permalink
fix(ButtonPrimitive): make button text non-selectable
Browse files Browse the repository at this point in the history
  • Loading branch information
domihustinova committed Sep 19, 2024
1 parent 00d6d35 commit baa1777
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const ButtonPrimitive = React.forwardRef<HTMLButtonElement | HTMLAnchorElement,
disabled={isDisabled}
className={cx(
className,
"orbit-button-primitive font-base duration-fast group relative max-w-full items-center justify-center border-none text-center leading-none transition-all *:align-middle [&_.orbit-loading-spinner]:stroke-current",
"orbit-button-primitive font-base duration-fast group relative max-w-full select-none items-center justify-center border-none text-center leading-none transition-all *:align-middle [&_.orbit-loading-spinner]:stroke-current",
fullWidth ? "w-full flex-auto" : "flex-none",
circled !== true && "rounded-150 tb:rounded-100",
isDisabled
Expand Down

0 comments on commit baa1777

Please sign in to comment.