Fix dark mode issue on countries card
Fixes #17111 This fixes the white background issue on the countries card in dark mode. The background of the web view on the Countries card is set to transparent to fix the issue.
NOTE: Please update the milestone to 20.8 if it's not frozen yet.
https://user-images.githubusercontent.com/2471769/190707221-f94bde3d-c6a8-4a2f-8fa4-01ac37c6d885.mp4
To test:
- Be in dark mode
- Go to Stats > Days/Weeks/Months/Years
- Scroll down to find the Countries card
- Ensure there is no white background on the countries card while loading.
- Tap "view more" on the Countries card
- Ensure there is no white loading state.
Regression Notes
-
Potential unintended areas of impact Light mode of countries card.
-
What I did to test those areas of impact (or what existing automated tests I relied on) Tested manually.
-
What automated tests I added (or what prevented me from doing so) I didn't add an automated test because it's a small UI fix.
PR submission checklist:
- [x] I have completed the Regression Notes.
- [x] I have considered adding accessibility improvements for my changes.
- [x] I have considered if this change warrants user-facing release notes and have added them to
RELEASE-NOTES.txtif necessary.
You can test the WordPress changes on this Pull Request by downloading an installable build (wordpress-installable-build-pr17169-6ba9f5a.apk), or scanning this QR code:
You can test the Jetpack changes on this Pull Request by downloading an installable build (jetpack-installable-build-pr17169-6ba9f5a.apk), or scanning this QR code: