Open eason9487 opened 1 year ago
Thanks @eason9487 for reporting this issue. We will prioritize and work on it. In case, if you need this fix urgently, please let us know here.
FYI. I've updated your description a bit to refer to the latest stable version of WCPay 5.5.1.
Describe the bug
Other React-powered pages in WC admin are affected by some CSS styles in WooCommerce Payments.
To Reproduce
/wp-admin/admin.php?page=wc-admin&path=%2Fanalytics%2Foverview
..components-card
CSS class.margin-bottom
style of the DOM is affected by WooCommerce Payments.Actual behavior
A few CSS styles of WooCommerce Payments affect some pages other than this extension.
Screenshots
Expected behavior
The CSS styles of WooCommerce Payments should only apply to its pages.
Desktop:
Smartphone:
I didn't test with smartphone phones but I believe this issue happens in all environments.
Additional context
Styles are not scoped:
Affected extensions: