Ticket #18940: 18968-image-improvement.diff
| File 18968-image-improvement.diff, 997 bytes (added by iandstewart, 19 months ago) |
|---|
-
wp-content/themes/twentyeleven/style.css
853 853 max-width: 97.5%; /* Fluid images for posts, comments, and widgets */ 854 854 } 855 855 img[class*="align"], 856 img[class*="wp-image-"] { 856 img[class*="wp-image-"], 857 img[class*="attachment-"] { 857 858 height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ 858 859 } 859 img.size-full { 860 img.size-full, 861 img.size-large { 860 862 max-width: 97.5%; 861 width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */ 863 width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ 864 height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ 862 865 } 863 866 .entry-content img.wp-smiley { 864 867 border: none;
