Commit a83ca387 authored by Mark Otto's avatar Mark Otto
Browse files

Fixes #13003: Move padding on radio and checkbox options from the surrounding...

Fixes #13003: Move padding on radio and checkbox options from the surrounding div to the label to remove the no-click deadzone caused by negative margin
parent ac8db909
Showing with 13 additions and 11 deletions
+13 -11
...@@ -3099,14 +3099,14 @@ input[type="date"].input-lg { ...@@ -3099,14 +3099,14 @@ input[type="date"].input-lg {
.checkbox { .checkbox {
display: block; display: block;
min-height: 20px; min-height: 20px;
padding-right: 20px;
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.radio label, .radio label,
.checkbox label { .checkbox label {
display: inline; padding-right: 20px;
margin-bottom: 0;
font-weight: normal; font-weight: normal;
cursor: pointer; cursor: pointer;
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -2388,13 +2388,13 @@ input[type="date"].input-lg { ...@@ -2388,13 +2388,13 @@ input[type="date"].input-lg {
.checkbox { .checkbox {
display: block; display: block;
min-height: 20px; min-height: 20px;
padding-left: 20px;
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.radio label, .radio label,
.checkbox label { .checkbox label {
display: inline; padding-left: 20px;
margin-bottom: 0;
font-weight: normal; font-weight: normal;
cursor: pointer; cursor: pointer;
} }
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -204,9 +204,11 @@ input[type="date"] { ...@@ -204,9 +204,11 @@ input[type="date"] {
min-height: @line-height-computed; // clear the floating input if there is no label text 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;
padding-left: 20px;
label { label {
display: inline; // display: inline;
padding-left: 20px;
margin-bottom: 0;
font-weight: normal; font-weight: normal;
cursor: pointer; cursor: pointer;
} }
......
Supports Markdown
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