aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-03-10 16:41:56 -0700
committerMark Otto <[email protected]>2014-03-10 16:41:56 -0700
commita83ca387133f4ce0aa5d773e25930363214b8e6f (patch)
tree486dd0d36cf86a424e1c0a10e1d01b52b8a9a542 /less/forms.less
parentac8db909c545751398c76b11f24096a25e07a67f (diff)
downloadbootstrap-a83ca387133f4ce0aa5d773e25930363214b8e6f.tar.xz
bootstrap-a83ca387133f4ce0aa5d773e25930363214b8e6f.zip
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
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less6
1 files changed, 4 insertions, 2 deletions
diff --git a/less/forms.less b/less/forms.less
index de17d1c82..33ef79951 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -204,9 +204,11 @@ input[type="date"] {
min-height: @line-height-computed; // clear the floating input if there is no label text
margin-top: 10px;
margin-bottom: 10px;
- padding-left: 20px;
+
label {
- display: inline;
+ // display: inline;
+ padding-left: 20px;
+ margin-bottom: 0;
font-weight: normal;
cursor: pointer;
}