Skip to content

Commit dd82b75

Browse files
committed
(less) Fixes twbs#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
1 parent c351f2d commit dd82b75

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

forms.less

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,11 @@ input[type="date"] {
204204
min-height: @line-height-computed; // clear the floating input if there is no label text
205205
margin-top: 10px;
206206
margin-bottom: 10px;
207-
padding-left: 20px;
207+
208208
label {
209-
display: inline;
209+
// display: inline;
210+
padding-left: 20px;
211+
margin-bottom: 0;
210212
font-weight: normal;
211213
cursor: pointer;
212214
}

0 commit comments

Comments
 (0)