From 1ed0ba3c187ee50a107c7618b43fb108d7b76adf Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Tue, 20 Aug 2013 17:33:09 +0000 Subject: [PATCH] Twenty Fourteen: don't allow line-wrapping in the top-level navigation menu items. Props georgestephanis, fixes #24917. Built from https://develop.svn.wordpress.org/trunk@25061 git-svn-id: http://core.svn.wordpress.org/trunk@25047 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfourteen/style.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-content/themes/twentyfourteen/style.css b/wp-content/themes/twentyfourteen/style.css index b359da57e7..ccaeffcb43 100644 --- a/wp-content/themes/twentyfourteen/style.css +++ b/wp-content/themes/twentyfourteen/style.css @@ -847,6 +847,7 @@ body { padding: 0 10px; padding: 0 1.0rem; text-decoration: none; + white-space: nowrap; } .primary-navigation ul ul { background-color: rgba(0, 0, 0, 0.9); @@ -872,6 +873,7 @@ body { padding: 0.9rem 1.2rem; width: 148px; width: 14.8rem; + white-space: normal; } .primary-navigation ul ul li { }