Skip to content

Commit

Permalink
fix: increase opacity for disabled button
Browse files Browse the repository at this point in the history
  • Loading branch information
gregjopa committed Jul 6, 2021
1 parent a2b4cf6 commit d1ac1d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PayPalButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export const PayPalButtons: FunctionComponent<PayPalButtonsComponentProps> = ({
}
}, [disabled, initActions]);

const isDisabledStyle = disabled ? { opacity: 0.33 } : {};
const isDisabledStyle = disabled ? { opacity: 0.38 } : {};
const classNames = `${className} ${
disabled ? "paypal-buttons-disabled" : ""
}`.trim();
Expand Down

0 comments on commit d1ac1d2

Please sign in to comment.