site-kit-wp
site-kit-wp copied to clipboard
WP Consent API active tick is squashed at narrow tablet viewports.
Bug Description
The circle around the tick that indicates the WP Consent API is active is squashed at narrow tablet viewports.
Steps to reproduce
- Install and activate the WP Consent API and navigate to the Consent Mode settings.
- Set the viewport to a narrow tablet width e.g. 601px.
- See the circle around the tick is squashed and clipped as per the screenshot below.
Screenshots
Additional Context
- PHP Version: any
- OS: any
- Browser: any
- Plugin Version: pre-release 1.122.0
- Device: any
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- The circle around the tick as described above should remain a proper circle at all viewport widths.
Implementation Brief
- [x] Add
min-width: 22pxto the styling for the circle. Alternativelyflex-basismight be appropriate to use here.
Test Coverage
- No new tests needed.
QA Brief
- Run through the steps to reproduce, and verify the tick is no longer squashed.
Changelog entry
- Update Consent Mode settings element sizing for consistency across viewports.
Great spot @techanvil! I should have noticed that.
IB ✔️
QA Update ✅
- Tested on dev environment.
- Verified that issue is resolve now and now on narrow tablet viewports WP consent API active tick is not appearing squashed.
Latest -
Development -