Make WordPress Core

Changeset 46453

Timestamp:
10/09/2019 04:56:55 AM (5 years ago)
Author:
whyisjake
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/admin-menu.css

    r46332 r46453  
    339339#adminmenu div.wp-menu-name {
    340340    display: flex;
    341     word-break: break-word;
    342341    padding: 8px 0;
    343342}
     
    511510
    512511/* @todo: consider to use a single rule for these counters and the list table comments counters. */
    513 #adminmenu .awaiting-mod,
    514 #adminmenu .update-plugins {
     512#adminmenu .wp-menu-name > span {
    515513    display: inline-block;
    516514    vertical-align: top;
    517     box-sizing: border-box;
    518     margin: 1px 0 -1px 2px;
    519     padding: 0 5px;
    520     min-width: 18px;
     515    margin: 1px 1px -1px 2px;
     516    padding: 0 6px;
    521517    height: 18px;
    522518    border-radius: 9px;
Note: See TracChangeset for help on using the changeset viewer.