From 1657a226a12c484ece54ea4dc45fd56a9a384fca Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 23 May 2013 17:20:37 +0000 Subject: [PATCH] Twenty Thirteen: move `word-wrap` rules to parent container of hyphenated text, and hyphenate long comment author names. Props SergeyBiryukov for first patches, fixes #24329. git-svn-id: http://core.svn.wordpress.org/trunk@24332 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentythirteen/style.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentythirteen/style.css b/wp-content/themes/twentythirteen/style.css index 0521a439c5..538a8c7e4a 100644 --- a/wp-content/themes/twentythirteen/style.css +++ b/wp-content/themes/twentythirteen/style.css @@ -971,6 +971,7 @@ ul.nav-menu li:hover > ul, .hentry { padding: 40px 0; + word-wrap: break-word; } .entry-header, @@ -1107,7 +1108,6 @@ ul.nav-menu li:hover > ul, -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto; - word-wrap: break-word; } .entry-content a, @@ -2272,6 +2272,13 @@ footer.entry-meta { margin-bottom: 10px; } +.comment-author .fn { + -webkit-hyphens: auto; + -moz-hyphens: auto; + -ms-hyphens: auto; + hyphens: auto; +} + .comment-author .fn, .comment-author .url, .comment-reply-link, @@ -2505,6 +2512,7 @@ footer.entry-meta { .site-main .widget-area { float: right; width: 300px; + word-wrap: break-word; } @@ -2522,7 +2530,6 @@ footer.entry-meta { hyphens: auto; margin: 0 0 24px; padding: 20px; - word-wrap: break-word; } .widget .widget-title {