This PR fixes an issue where checkboxes (or anything else) added via the woocommerce_after_checkout_billing_form did not have the correct margin.
We fix this by applying our expected margin to any .form-row added to this part of checkout. Note we only target .form-row as this is the expected format of anything added here. Anything added using a nonstandard class will need additional custom CSS to integrate correctly.
All Submissions:
Changes proposed in this Pull Request:
Goes with the following Plugin PR: https://github.com/Automattic/newspack-plugin/pull/3546
This PR fixes an issue where checkboxes (or anything else) added via the
woocommerce_after_checkout_billing_form
did not have the correct margin.We fix this by applying our expected margin to any
.form-row
added to this part of checkout. Note we only target.form-row
as this is the expected format of anything added here. Anything added using a nonstandard class will need additional custom CSS to integrate correctly.NOTE: The fix for the off-centered text and checkbox input live in the plugin PR: https://github.com/Automattic/newspack-plugin/pull/3546
How to test the changes in this Pull Request:
Other information: