aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-07-06 15:09:20 -0700
committerMark Otto <[email protected]>2014-07-06 15:09:20 -0700
commite2029e122c58d5bca7f439ea4c8220957acc8903 (patch)
tree79623f1b542605b2d423a4018b0fe7dc17efa080 /less/forms.less
parent354d4236688c5370cc345bbbde8cb5ef917ff2a1 (diff)
downloadbootstrap-e2029e122c58d5bca7f439ea4c8220957acc8903.tar.xz
bootstrap-e2029e122c58d5bca7f439ea4c8220957acc8903.zip
Fixes #13997: Move min-height for radio/checkbox to their inner label
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less2
1 files changed, 1 insertions, 1 deletions
diff --git a/less/forms.less b/less/forms.less
index d3c726765..26589b3eb 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -208,11 +208,11 @@ input[type="month"] {
.checkbox {
position: relative;
display: block;
- min-height: @line-height-computed; // clear the floating input if there is no label text
margin-top: 10px;
margin-bottom: 10px;
label {
+ min-height: @line-height-computed; // Ensure the input doens't jump when no text
padding-left: 20px;
margin-bottom: 0;
font-weight: normal;