-
Notifications
You must be signed in to change notification settings - Fork 44
fix(modal-checkout): style improvements to single-gateway #2223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(modal-checkout): style improvements to single-gateway #2223
Conversation
|
@miguelpeixe Thank you for the PR. I made some tiny tweaks here and there, mainly regarding font-size/line-height and margins. Couple of questions:
Screenshot.2025-10-06.at.17.04.06.mp4 |
Added in e255b67. Because the page refreshes on modal close, the most straightforward way to implement this is to link it back to the subscription page.
That's inheriting the standard 2-step modal checkout behavior. Would it be better if we changed the button label to "Edit billing information" rather than back? Perhaps accompanied by a "Cancel" or"Close" as well? |
Yes, wfm, thank you @miguelpeixe (cancel for consistency) |
|
Implemented in 5010817. I changed the Edit billing information button to secondary instead of ghost. Let me know if both Edit billing and Cancel should be ghost:
|
|
This is perfect @miguelpeixe |
|
Good catch! Fixed in eddf6de |
|
Thank you @miguelpeixe! |
|
Hey @miguelpeixe, good job getting this PR merged! 🎉 Now, the Please check if this PR needs to be included in the "Upcoming Changes" and "Release Notes" doc. If it doesn't, simply remove the label. If it does, please add an entry to our shared document, with screenshots and testing instructions if applicable, then remove the label. Thank you! ❤️ |
# [4.17.0-alpha.1](v4.16.0...v4.17.0-alpha.1) (2025-10-17) ### Bug Fixes * correct RTL styles for the Content Loop ([#2215](#2215)) ([a8e2f42](a8e2f42)) * ga4 events for tiered modal ([#2218](#2218)) ([a08981d](a08981d)) * handle invalid file errors when processing archive ([#2221](#2221)) ([2ba3d26](2ba3d26)) * **modal-checkout:** style improvements to single-gateway ([#2223](#2223)) ([3c0014a](3c0014a)) ### Features * add newspack-colors and newspack-icons packages ([#2222](#2222)) ([f6bdf20](f6bdf20))
|
🎉 This PR is included in version 4.17.0-alpha.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [4.17.0](v4.16.1...v4.17.0) (2025-10-30) ### Bug Fixes * correct RTL styles for the Content Loop ([#2215](#2215)) ([a8e2f42](a8e2f42)) * ga4 events for tiered modal ([#2218](#2218)) ([a08981d](a08981d)) * handle invalid file errors when processing archive ([#2221](#2221)) ([2ba3d26](2ba3d26)) * **modal-checkout:** skip newsletter signup on subscription switch ([#2235](#2235)) ([e6feccc](e6feccc)) * **modal-checkout:** style improvements to single-gateway ([#2223](#2223)) ([3c0014a](3c0014a)) ### Features * add newspack-colors and newspack-icons packages ([#2222](#2222)) ([f6bdf20](f6bdf20))
|
🎉 This PR is included in version 4.17.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |




All Submissions:
Changes proposed in this Pull Request:
NPPD-485
Related: Automattic/newspack-plugin#4220
Remove the box from single-gateway checkouts:
How to test the changes in this Pull Request:
Other information: