diff --git a/src/ui/buttons/styles/responsive.js b/src/ui/buttons/styles/responsive.js index 2f63de301d..f21a067c58 100644 --- a/src/ui/buttons/styles/responsive.js +++ b/src/ui/buttons/styles/responsive.js @@ -60,7 +60,9 @@ export function buttonResponsiveStyle({ 12 ); - const labelHeight = max(roundUp(perc(buttonHeight, 35) + 5, 2), 12); + // A PayPal logo with min height 20px is what we need to achieve the desired look when the button is small + // A small button rendered by us is approximately 100px width by 42px height + const labelHeight = max(roundUp(perc(buttonHeight, 35) + 5, 2), 20); const pillBorderRadius = Math.ceil(buttonHeight / 2);