WordPress.org

Make WordPress Core

Ticket #23745: 23745.diff

File 23745.diff, 1.2 KB (added by obenland, 13 months ago)
  • wp-content/themes/twentythirteen/css/ie.css

     
    107107        border: 0; 
    108108} 
    109109 
    110 .ie8 img.size-full, 
    111 .ie8 img.size-large { 
     110.ie8 img { 
    112111        height: auto; 
    113112        width: auto; 
    114113} 
  • wp-content/themes/twentythirteen/style.css

     
    658658 
    659659/* 
    660660 * Responsive images 
    661  * 
    662  * Fluid images for posts, comments, and widgets 
    663661 */ 
    664 .entry-content img, 
    665 .entry-summary img, 
    666 .comment-content img, 
    667 .widget img, 
    668 .wp-caption { 
    669         max-width: 100%; 
    670 } 
    671  
    672 /* Make sure images with WordPress-added height and width attributes are scaled correctly. */ 
    673 .entry-content img, 
    674 .entry-summary img, 
    675 .comment-content img[height], 
    676 img[class*="align"], 
    677 img[class*="wp-image-"], 
    678 img[class*="attachment-"] { 
    679         height: auto; 
    680 } 
    681  
    682 img.size-full, 
    683 img.size-large, 
    684 img.wp-post-image { 
     662img { 
    685663        height: auto; 
    686664        max-width: 100%; 
    687665}