From 280744f555f64a26044a15cff76fb04bd4dcf1ab Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 11 Apr 2013 18:03:01 +0000 Subject: [PATCH] Twenty Thirteen: change Genericon element display to `inline-block` to avoid underlining the icon when its related element wrapped in a link. Props obenland, fixes #24045. git-svn-id: http://core.svn.wordpress.org/trunk@23966 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentythirteen/rtl.css | 3 ++- wp-content/themes/twentythirteen/style.css | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentythirteen/rtl.css b/wp-content/themes/twentythirteen/rtl.css index b742deaa67..0c04895a81 100644 --- a/wp-content/themes/twentythirteen/rtl.css +++ b/wp-content/themes/twentythirteen/rtl.css @@ -99,6 +99,7 @@ td { .bypostauthor .fn:after, .error404 .page-title:after { -webkit-font-smoothing: antialiased; + display: inline-block; font: normal 16px/1 Genericons; vertical-align: text-bottom; } @@ -748,7 +749,7 @@ div.nav-menu > ul { padding-left: 376px; padding-right: 60px; } - + ul.nav-menu, div.nav-menu > ul { margin-left: auto; diff --git a/wp-content/themes/twentythirteen/style.css b/wp-content/themes/twentythirteen/style.css index 30f03f05c5..e39b51c4c2 100644 --- a/wp-content/themes/twentythirteen/style.css +++ b/wp-content/themes/twentythirteen/style.css @@ -500,6 +500,7 @@ hr { .bypostauthor .fn:before, .error404 .page-title:before { -webkit-font-smoothing: antialiased; + display: inline-block; font: normal 16px/1 Genericons; vertical-align: text-bottom; }