mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
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
This commit is contained in:
Vendored
+2
-2
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+4
-2
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user