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, afercia, amolv, iqbalbary, davidbaumwald.
Fixes #42201


git-svn-id: https://develop.svn.wordpress.org/trunk@46453 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jake Spurlock 2019-10-09 04:56:55 +00:00
parent 176a3f0d7c
commit c608c85b67

View File

@ -338,7 +338,6 @@
#adminmenu div.wp-menu-name {
display: flex;
word-break: break-word;
padding: 8px 0;
}
@ -510,14 +509,11 @@ ul#adminmenu > li.current > a.current:after {
}
/* @todo: consider to use a single rule for these counters and the list table comments counters. */
#adminmenu .awaiting-mod,
#adminmenu .update-plugins {
#adminmenu .wp-menu-name > span {
display: inline-block;
vertical-align: top;
box-sizing: border-box;
margin: 1px 0 -1px 2px;
padding: 0 5px;
min-width: 18px;
margin: 1px 1px -1px 2px;
padding: 0 6px;
height: 18px;
border-radius: 9px;
background-color: #ca4a1f;