fix: minor bugs in the onboarding screens (#603)
This commit is contained in:
parent
63b7c1ee47
commit
a94e38c093
7 changed files with 26 additions and 33 deletions
|
|
@ -13,7 +13,7 @@ export const PrimaryButton: React.FC<ButtonProps> = ({
|
|||
}) => (
|
||||
<button
|
||||
type={type}
|
||||
className={`${className} border border-theme font-medium duration-300 ${
|
||||
className={`${className} border font-medium duration-300 ${
|
||||
size === "sm"
|
||||
? "rounded px-3 py-2 text-xs"
|
||||
: size === "md"
|
||||
|
|
@ -22,12 +22,12 @@ export const PrimaryButton: React.FC<ButtonProps> = ({
|
|||
} ${
|
||||
disabled
|
||||
? "cursor-not-allowed border-gray-300 bg-gray-300 text-black hover:border-gray-300 hover:border-opacity-100 hover:bg-gray-300 hover:bg-opacity-100 hover:text-black"
|
||||
: ""
|
||||
: "border-theme"
|
||||
} ${
|
||||
outline
|
||||
? "bg-transparent hover:bg-theme hover:text-white"
|
||||
: "bg-theme text-white hover:border-opacity-90 hover:bg-opacity-90"
|
||||
} ${loading ? "cursor-wait" : ""}`}
|
||||
: "bg-theme hover:border-opacity-90 hover:bg-opacity-90"
|
||||
} ${!disabled && !outline ? "text-white" : ""} ${loading ? "cursor-wait" : ""}`}
|
||||
onClick={onClick}
|
||||
disabled={disabled || loading}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue