]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Use calc() on .col-form-label padding calculations
authorMark Otto <markdotto@gmail.com>
Sun, 25 Dec 2016 22:35:57 +0000 (14:35 -0800)
committerMark Otto <markd.otto@gmail.com>
Sun, 25 Dec 2016 23:48:44 +0000 (15:48 -0800)
commit96986bb4a3d0dcea3bc5f17234a42a77a0d1756e
tree48315ba8e56a75799d66960b4a05d6a2adaf7552
parent04d48ba5049d38db9f367442372128f7202cc9b1
Use calc() on .col-form-label padding calculations

Fixes #21135.

There's a height mismatch here because we're setting padding on the labels, while inputs get padding *and* a top+bottom border. This now uses calc to determine the exact height needed to match labels to inputs.
scss/_forms.scss