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
This commit is contained in:
parent
b540525589
commit
ca2f9a9bab
|
@ -26,7 +26,10 @@ body.custom-background-white .site {
|
||||||
img.size-full,
|
img.size-full,
|
||||||
img.size-large,
|
img.size-large,
|
||||||
img.header-image,
|
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 */
|
width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */
|
||||||
}
|
}
|
||||||
.author-avatar {
|
.author-avatar {
|
||||||
|
|
Loading…
Reference in New Issue