WordPress.org

Make WordPress Core

Ticket #22366: 22366.2.diff

File 22366.2.diff, 934 bytes (added by lancewillett, 14 months ago)
  • wp-content/themes/twentyeleven/style.css

     
    867867.entry-content img, 
    868868.comment-content img, 
    869869.widget img { 
    870         max-width: 97.5%; /* Fluid images for posts, comments, and widgets */ 
     870        max-width: 100%; /* Fluid images for posts, comments, and widgets */ 
    871871} 
    872872img[class*="align"], 
    873873img[class*="wp-image-"], 
     
    903903} 
    904904.wp-caption img { 
    905905        display: block; 
    906         margin: 0 auto; 
     906        margin: -2px 0 0 -2px; 
    907907        max-width: 98%; 
    908908} 
    909909.wp-caption .wp-caption-text, 
     
    953953#content .gallery .gallery-icon img {/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */ 
    954954        border: 1px solid #ddd; 
    955955        padding: 6px; 
     956        max-width: 97.5%; 
    956957} 
    957958.wp-caption img { 
    958959        border-color: #eee;