Commit 66dba14c authored by kevers@chromium.org's avatar kevers@chromium.org

Switch from margin to padding for checkboxes and radio buttons.

BUG=102482
TEST=


Review URL: http://codereview.chromium.org/10222007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134528 0039d316-1c4b-4281-b951-d872f2087c98
parent 8bbf9639
......@@ -14,16 +14,17 @@ input[type='search'] {
padding-top: 6px;
}
/* Additional padding to disambiguate controls on neighboring rows.
* Ideally, the margin belongs on input[type=radio|checkbox] to be a more
* general fix; however, this creates baseline problems as webkit is not
* currently able to reconcile the baseline of a text-free inline box
* containing a margin and fixed dimensions with neighboring content.
* TODO(kevers): Reinvestigate once the baseline adjustment properties in
* CSS3 are supported. */
/* Margins are not touchable. Use padding on the inner label instead to
increase the size of the touch target. */
.checkbox,
.radio {
margin: 12px 0;
margin: 0;
}
.checkbox label,
.radio label {
padding-bottom: 7px;
padding-top: 7px;
}
li > button.link-button {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment