From f2e9aa79f5a4c75e5bf28ce7baab971dff4f9664 Mon Sep 17 00:00:00 2001
From: Jake Spurlock <whyisjake@git.wordpress.org>
Date: Thu, 26 Sep 2019 21:50:10 +0000
Subject: [PATCH] Administration: Ensure visual consistency with large titles
 in the sidebar.

Custom posts, and other menu titles that are long aren't wrapping correctly.

Props jagirbaheshwp, munyagu, harshbarach, hareesh-pillai, pratikkry, naveenkharwar, mukesh27, dushanthi, worldweb, audrasjb
Fixes #42201


git-svn-id: https://develop.svn.wordpress.org/trunk@46332 602fd350-edb4-49c9-b593-d223f7449a82
---
 src/wp-admin/css/admin-menu.css | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/wp-admin/css/admin-menu.css b/src/wp-admin/css/admin-menu.css
index 2e738f7a86..8118de7d96 100644
--- a/src/wp-admin/css/admin-menu.css
+++ b/src/wp-admin/css/admin-menu.css
@@ -337,6 +337,8 @@
 }
 
 #adminmenu div.wp-menu-name {
+	display: flex;
+	word-break: break-word;
 	padding: 8px 0;
 }
 
@@ -692,7 +694,7 @@ li#wp-admin-bar-menu-toggle {
 	}
 
 	.auto-fold #adminmenu a.menu-top {
-		height: 34px;
+		height: auto;
 	}
 
 	.auto-fold #adminmenu li.wp-menu-open {