From ca2f9a9babfce25484067c22fa42a2003833bf1a Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 6 Dec 2012 07:16:31 +0000 Subject: [PATCH] Twenty Twelve: fix skewed gallery thumbnail images in IE8 by adding selectors to match attachment thumbnails and any mix-and-match of full-size and large-size image that may occur in content. Fixes #22782. git-svn-id: https://develop.svn.wordpress.org/trunk@23102 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/twentytwelve/css/ie.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentytwelve/css/ie.css b/wp-content/themes/twentytwelve/css/ie.css index 02ab3713e1..7acef64df6 100644 --- a/wp-content/themes/twentytwelve/css/ie.css +++ b/wp-content/themes/twentytwelve/css/ie.css @@ -26,7 +26,10 @@ body.custom-background-white .site { img.size-full, img.size-large, img.header-image, -img.wp-post-image { +img.wp-post-image, +img[class*="align"], +img[class*="wp-image-"], +img[class*="attachment-"] { width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ } .author-avatar {