WordPress.org

Make WordPress Core

Ticket #22366: 22366.diff

File 22366.diff, 779 bytes (added by obenland, 18 months ago)
  • wp-content/themes/twentyeleven/style.css

     
    856856.entry-content img, 
    857857.comment-content img, 
    858858.widget img { 
    859         max-width: 97.5%; /* Fluid images for posts, comments, and widgets */ 
     859        max-width: 100%; /* Fluid images for posts, comments, and widgets */ 
    860860} 
    861861img[class*="align"], 
    862862img[class*="wp-image-"], 
     
    942942#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */ 
    943943        border: 1px solid #ddd; 
    944944        padding: 6px; 
     945        max-width: 97.5%; 
    945946} 
    946947.wp-caption img { 
    947948        border-color: #eee;