-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
Commit
…rounding div to the label to remove the no-click deadzone caused by negative margin
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
rinatio
|
||
padding-left: 20px; | ||
margin-bottom: 0; | ||
font-weight: normal; | ||
cursor: pointer; | ||
} | ||
|
2 comments
on commit a83ca38
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mdo your fix doesn't update padding for .inline-form
, so there's unneeded padding on radio & checkbox label.
http://jsfiddle.net/DEuud/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kibao Please file an issue.
Hi @mdo, I'm not sure if that's intentional or not, but without
display: inline
checkboxes have a big gap between each other, like here in chrome 34.0.1847.131 on os x.