0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

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 8 additions and 8 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;

File diff suppressed because one or more lines are too long

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;

File diff suppressed because one or more lines are too long

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;