]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Set vertical-align on .form-check-input (#29521)
authorJonathan Hefner <jonathan@hefner.pro>
Sun, 24 Nov 2019 19:15:35 +0000 (13:15 -0600)
committerMartijn Cuppens <martijn.cuppens@gmail.com>
Sun, 24 Nov 2019 19:15:35 +0000 (20:15 +0100)
commit0caed940a578cb920a750dc0ce287c7d71e59a3e
tree24039695d57f8bd4de00dfc91555c5fde40cccac
parent460ba061cb470df7aca18b32854079a0caf335dd
Set vertical-align on .form-check-input (#29521)

This is a follow-up to #29322, specifically "allowing easy placement of
the `.form-check-input` in more places."  In my testing in Firefox and
Chrome, setting `vertical-align: top` removes the need to add
`float-left` to vertically align the checkbox and label text.  And doing
so does not visually affect examples which do apply `float: left` via
nesting in a `.form-check`.
scss/forms/_form-check.scss
site/content/docs/4.3/components/list-group.md