]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Add a min-height: 1.5rem; to custom controls 21033/head
authorMark Otto <markdotto@gmail.com>
Thu, 27 Oct 2016 21:32:56 +0000 (14:32 -0700)
committerMark Otto <markdotto@gmail.com>
Thu, 27 Oct 2016 21:32:56 +0000 (14:32 -0700)
commit1421ca5b8790df8b29f555bda4b495852137773a
tree4d1bcc558bf00fb458bbe690ade679e72ae0130e
parentda6b5a055123937b06960e39c27308214a9374bc
Add a min-height: 1.5rem; to custom controls

Fixes #20730.

This change computes the minimum needed height of what a single line of text would be for the custom checkboxes/radios. This is required because our custom control indicators are positioned absolutely, meaning they cannot be clearfixed or anything like that. Using a computed value means it should scale nicely in case of customization
scss/_custom-forms.scss