WordPress.org

Make WordPress Core

Ticket #25404: 25404.2.diff

File 25404.2.diff, 683 bytes (added by taupecat, 7 years ago)

This patch instead of 25404.diff; puts "display: block" on all linked images and removes deprecated rules

  • wp-content/themes/twentyfourteen/style.css

    diff --git wp-content/themes/twentyfourteen/style.css wp-content/themes/twentyfourteen/style.css
    index 1cc04ea..ca59774 100644
    a:active { /* Improves readability when focused and also mouse hovered in all br 
    8383}
    8484a img {
    8585        border: 0;
     86        display: block;
    8687}
    8788
    8889/* =Global
    img { 
    13801381        max-width: 100%;
    13811382        height: auto;
    13821383}
    1383 .site-header img,
    1384 .attachment-featured-thumbnail-large,
    1385 .entry-content img,
    1386 .comment-content img,
    1387 .widget img {
    1388         vertical-align: middle;
    1389 }
    13901384.attachment-featured-featured img,
    13911385.attachment-featured-thumbnail img {
    13921386        height: auto;