This PR does a few things:
- Scopes
.form-check-input
layout properties to the.form-check
parent, allowing easy placement of the.form-check-input
in more places. - Updates the no-label checks. Current version recommends static positioning, but we use floats, so this is kinda busted right now.
- Updates the checkbox/radio in input group example to use the v5 style
.form-check-input
. - Documents how to use
.form-check
within list groups. This also includes the addition ofmargin-bottom: 0
on list group items so you can use the<label>
element.
Fixes #28524 (closed), closes #28603 (closed) (though this is outdated by v5's combined .form-check
). Also closes #28242 (closed).
Preview: https://deploy-preview-29322--twbs-bootstrap.netlify.com/