From 91d63c6496b3b4d1c632b7c2686c19786befebbc Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Wed, 15 Aug 2012 05:25:40 +0000 Subject: [PATCH] Twenty Twelve: better fix for long words getting hidden in widgets, putting the rules in the correct selector, props obenland. Closes #21503. git-svn-id: http://core.svn.wordpress.org/trunk@21517 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- style.css | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/style.css b/style.css index 9384ca769..6d27ed014 100644 --- a/style.css +++ b/style.css @@ -455,12 +455,6 @@ a:hover { /* Page structure */ .wrapper { overflow: hidden; - -moz-hyphens: auto; - -ms-word-break: break-all; - -webkit-hyphens: auto; - hyphens: auto; - word-break: break-all; - word-break: break-word; } .site { padding: 0 24px; @@ -628,6 +622,13 @@ section[role="banner"] { /* Sidebar */ .widget-area .widget { + overflow: hidden; + -moz-hyphens: auto; + -ms-word-break: break-all; + -webkit-hyphens: auto; + hyphens: auto; + word-break: break-all; + word-break: break-word; margin-bottom: 48px; margin-bottom: 3.428571429rem; }