Automattic / newspack-blocks

Gutenberg blocks for the Newspack project.
207 stars 43 forks source link

fix: correct spacing of under-Stripe checkmarks #1953

Closed laurelfulford closed 1 week ago

laurelfulford commented 1 week ago

All Submissions:

Changes proposed in this Pull Request:

This PR fixes the spacing of checkboxes that appear under the Stripe payment gateway.

See: 1207817176293825-as-1208730419008818

How to test the changes in this Pull Request:

  1. Start with a site using Stripe Gateway.
  2. Under the RAS settings, enable the option for reader to pay the Stripe fees.
  3. As a reader, run through a One-Time donation purchase.
  4. On the second screen, note the two checkboxes are touching:

CleanShot 2024-11-13 at 11 03 12

  1. Apply this PR and run npm run build.
  2. Confirm the issue is fixed.

CleanShot 2024-11-13 at 11 03 37

  1. Try a checkout with a monthly/yearly donation (which won't have the checkbox about saving information), and try disabling the fees checkbox to make sure things still look okay.

Other information:

laurelfulford commented 1 week ago

Thanks @dkoo!