]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Calculcate the top offset for custom control indicators 21034/head
authorMark Otto <markdotto@gmail.com>
Thu, 27 Oct 2016 21:41:12 +0000 (14:41 -0700)
committerMark Otto <markdotto@gmail.com>
Thu, 27 Oct 2016 21:41:12 +0000 (14:41 -0700)
commit2dcc50f01715302cdcbe5ae49c7539b0288f63ab
tree1b04e4c9c990492885dde6c49c64254d93b7285f
parentda6b5a055123937b06960e39c27308214a9374bc
Calculcate the top offset for custom control indicators

Fixes #21023.

Uses some math functions to determine what the offset should be. This is helpful for those who customize the size of their indicators and still want them vertically centered.
scss/_custom-forms.scss