From 78992bbf42b93464737860948223e9f852a9f8e8 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 18 Sep 2012 11:23:16 -0700 Subject: fixes #5178: update normalize to avoid resetting audio and video elements in android --- less/reset.less | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'less/reset.less') diff --git a/less/reset.less b/less/reset.less index 2901a85c8..ed3fecf41 100644 --- a/less/reset.less +++ b/less/reset.less @@ -115,11 +115,11 @@ input::-moz-focus-inner { // Inner padding and border oddities in FF3/4 border: 0; } button, -input[type="button"], +html input[type="button"], // Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls. input[type="reset"], input[type="submit"] { - cursor: pointer; // Cursors on all buttons applied consistently - -webkit-appearance: button; // Style clickable inputs in iOS + -webkit-appearance: button; // Corrects inability to style clickable `input` types in iOS. + cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others. } input[type="search"] { // Appearance in Safari/Chrome -webkit-box-sizing: content-box; -- cgit v1.2.3 From 239ce24f92688f0dca44a4f74f9f5f70f04af1e5 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 1 Oct 2012 10:48:57 -0700 Subject: fixes #5188: add .google-maps class to reset responsive images on case-by-case basis --- less/reset.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'less/reset.less') diff --git a/less/reset.less b/less/reset.less index ed3fecf41..2abdee462 100644 --- a/less/reset.less +++ b/less/reset.less @@ -88,7 +88,8 @@ img { } // Prevent max-width from affecting Google Maps -#map_canvas img { +#map_canvas img, +.google-maps img { max-width: none; } -- cgit v1.2.3