Fixes #13997: Move min-height for radio/checkbox to their inner label

This commit is contained in:
Mark Otto 2014-07-06 15:09:20 -07:00
parent 354d423668
commit e2029e122c
8 changed files with 6 additions and 6 deletions

View file

@ -2418,12 +2418,12 @@ input[type="month"].input-lg {
.checkbox {
position: relative;
display: block;
min-height: 20px;
margin-top: 10px;
margin-bottom: 10px;
}
.radio label,
.checkbox label {
min-height: 20px;
padding-left: 20px;
margin-bottom: 0;
font-weight: normal;

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -2418,12 +2418,12 @@ input[type="month"].input-lg {
.checkbox {
position: relative;
display: block;
min-height: 20px;
margin-top: 10px;
margin-bottom: 10px;
}
.radio label,
.checkbox label {
min-height: 20px;
padding-left: 20px;
margin-bottom: 0;
font-weight: normal;

Binary file not shown.

File diff suppressed because one or more lines are too long

View file

@ -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;