Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2378)

Unified Diff: chrome/browser/resources/shared/css/checkbox.css

Issue 9307015: uber settings - checkbox/radio clickability (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/shared/css/checkbox.css
diff --git a/chrome/browser/resources/shared/css/checkbox.css b/chrome/browser/resources/shared/css/checkbox.css
index b441be30d9b2bf9cabdc7f16e6d085131f83ea98..16f573cb8d5834432d9d2dcf2d9886c7968d640b 100644
--- a/chrome/browser/resources/shared/css/checkbox.css
+++ b/chrome/browser/resources/shared/css/checkbox.css
@@ -119,13 +119,15 @@ input[type='radio']:active:checked::before {
.checkbox label,
.radio label {
- display: -webkit-box;
+ /* The extra 100px expands the clickable area past the end of the text. */
+ -webkit-padding-end: 100px;
csilv 2012/01/31 23:56:40 I'd be more comfortable without this or a smaller
Evan Stade 2012/02/01 01:09:33 the justification is in the cl description. This m
+ /* Don't expand horizontally: http://crbug.com/112091 */
+ display: -webkit-inline-box;
}
-/* Make sure long spans wrap at the same place they start. */
+/* Make sure long spans wrap at the same horizontal position they start. */
.checkbox label input ~ span,
.radio label input ~ span {
- -webkit-box-flex: 1;
-webkit-margin-start: 0.4em;
display: block;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698