From 5223958ef996f56aac5db80c6338082f37876e79 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Tue, 3 Dec 2013 17:14:39 +0000 Subject: [PATCH] Twenty Fourteen: make sure non-breaking title in `.nav-links` doesn't overflow, and make sure the menu toggle text is hidden. Props iamtakashi, closes #26189. git-svn-id: https://develop.svn.wordpress.org/trunk@26558 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfourteen/css/ie.css | 1 + src/wp-content/themes/twentyfourteen/style.css | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentyfourteen/css/ie.css b/src/wp-content/themes/twentyfourteen/css/ie.css index a8f7d2cd53..0c8e2a9b01 100644 --- a/src/wp-content/themes/twentyfourteen/css/ie.css +++ b/src/wp-content/themes/twentyfourteen/css/ie.css @@ -928,6 +928,7 @@ a.post-thumbnail:hover { font-size: 16px; line-height: 45px; text-transform: uppercase; + visibility: visible; width: 200px; } diff --git a/src/wp-content/themes/twentyfourteen/style.css b/src/wp-content/themes/twentyfourteen/style.css index bd7eb283b5..3718be4e3d 100644 --- a/src/wp-content/themes/twentyfourteen/style.css +++ b/src/wp-content/themes/twentyfourteen/style.css @@ -979,20 +979,22 @@ span + .edit-link:before, .menu-toggle { cursor: pointer; - font-size: 0; height: 48px; margin: 0; position: absolute; top: 0; right: 0; text-align: center; + visibility: hidden; width: 48px; } .menu-toggle:before { color: #fff; content: "\f419"; - margin-top: 16px; + position: relative; + top: -1px; + visibility: visible; } @@ -1518,7 +1520,12 @@ a.post-thumbnail:hover { */ .nav-links { + -webkit-hyphens: auto; + -moz-hyphens: auto; + -ms-hyphens: auto; border-top: 1px solid rgba(0, 0, 0, 0.1); + hyphens: auto; + word-wrap: break-word; } .post-navigation,