Commit e2029e12 authored by Mark Otto's avatar Mark Otto

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

parent 354d4236
...@@ -2418,12 +2418,12 @@ input[type="month"].input-lg { ...@@ -2418,12 +2418,12 @@ input[type="month"].input-lg {
.checkbox { .checkbox {
position: relative; position: relative;
display: block; display: block;
min-height: 20px;
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.radio label, .radio label,
.checkbox label { .checkbox label {
min-height: 20px;
padding-left: 20px; padding-left: 20px;
margin-bottom: 0; margin-bottom: 0;
font-weight: normal; font-weight: normal;
......
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
...@@ -2418,12 +2418,12 @@ input[type="month"].input-lg { ...@@ -2418,12 +2418,12 @@ input[type="month"].input-lg {
.checkbox { .checkbox {
position: relative; position: relative;
display: block; display: block;
min-height: 20px;
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.radio label, .radio label,
.checkbox label { .checkbox label {
min-height: 20px;
padding-left: 20px; padding-left: 20px;
margin-bottom: 0; margin-bottom: 0;
font-weight: normal; font-weight: normal;
......
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -208,11 +208,11 @@ input[type="month"] { ...@@ -208,11 +208,11 @@ input[type="month"] {
.checkbox { .checkbox {
position: relative; position: relative;
display: block; display: block;
min-height: @line-height-computed; // clear the floating input if there is no label text
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; margin-bottom: 10px;
label { label {
min-height: @line-height-computed; // Ensure the input doens't jump when no text
padding-left: 20px; padding-left: 20px;
margin-bottom: 0; margin-bottom: 0;
font-weight: normal; font-weight: normal;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment