ionic-framework
ionic-framework copied to clipboard
feat(checkbox): display as block when justify or alignment properties are defined
Issue number: internal
What is the current behavior?
When adding the justify or alignment property to an ion-checkbox it does not change the design because the checkbox is displayed inline.
What is the new behavior?
- Change the checkbox's
displayproperty toblockwhen thejustifyoralignmentproperty is set. - Set the default
justify-contentstyle tospace-betweenso that a checkbox withwidth: 100%set withoutjustifyoralignmentset will still have the same default - Modifies the
labele2e test to remove the explicit width as setting the property will make them full-width - Adds two examples to the
labele2e test of labels that do not havejustifyset but usewidth: 100%to ensure they are working as expected without it
Does this introduce a breaking change?
- [ ] Yes
- [x] No
Other information
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| ionic-framework | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 26, 2024 8:05pm |