From cdae4f352d2b2042c00bd58f044acf22c76e32e8 Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Fri, 7 Nov 2014 16:33:23 +0000 Subject: [PATCH] Twenty Fifteen: update earlier patch to borders on linked images so we're not affecting the display of linked icons in widgets. Props iamtakashi, fixes #29963. git-svn-id: https://develop.svn.wordpress.org/trunk@30269 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfifteen/style.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/wp-content/themes/twentyfifteen/style.css b/src/wp-content/themes/twentyfifteen/style.css index fba571bd10..fb2295c564 100644 --- a/src/wp-content/themes/twentyfifteen/style.css +++ b/src/wp-content/themes/twentyfifteen/style.css @@ -151,7 +151,6 @@ a:active { a img { border: 0; - display: block; } @@ -1757,6 +1756,13 @@ a.post-thumbnail:focus { border-bottom: 0; } +.entry-content a img, +.entry-summary a img, +.page-content a img, +.comment-content a img { + display: block; +} + .entry-content .more-link, .entry-summary .more-link:after { white-space: nowrap;