From a83ca387133f4ce0aa5d773e25930363214b8e6f Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 10 Mar 2014 16:41:56 -0700 Subject: 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 --- less/forms.less | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'less/forms.less') 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; } -- cgit v1.2.3