Address 2px height difference between WooPay and Google Pay #9137
Labels
focus: checkout payments
priority: medium
The issue/PR is medium priority—non-critical functionality loss, minimal effect on usability
type: bug
The issue is a confirmed bug.
Describe the bug
The bug description is pulled from this comment.
For some reason the WooPay button at 55px is smaller than the Google Pay ECE button at 55px???
Both are 55px according to the dev tools. Maybe the ECE buttons don't take the border into account so a 1px border means the end result is a height of 57px? That seems to be right:
Setting the max-height of the container to 55px results in an obvious cut-off:
It's only just barely noticable when they're side-by-side.
This issue only applies when the Light or Outline theme is chosen for the express checkout settings. The easiest solution is to adjust the WooPay button height to 57px when Light or Outline theme is selected, but it might be worth following up with Stripe to confirm this is the intended behavior.
To Reproduce
Actual behavior
The button heights are different by 2px with Google Pay being larger than WooPay.
Screenshots
Expected behavior
The button heights should be the same in all themes and button sizes.
Additional context
The text was updated successfully, but these errors were encountered: