WordPress.org

Make WordPress Core

Changeset 49149


Ignore:
Timestamp:
10/14/2020 07:51:12 PM (11 months ago)
Author:
helen
Message:

Admin Menu: Better wrapping for long menu item names.

Props munyagu, jagirbaheshwp, harshbarach, pratikkry, hareesh-pillai, naveenkharwar, mukesh27, chetan200891, dushanthi, worldweb, audrasjb, afercia, amolv, iqbalbary, davidbaumwald, sabernhardt, johnjamesjacoby, garrett-eclipse, garrett-eclipse.
Fixes #42201.

File:
1 edited

Legend:

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

    r47771 r49149  
    347347
    348348#adminmenu div.wp-menu-name {
    349     padding: 8px 0;
     349    padding: 8px 8px 8px 36px;
     350    overflow-wrap: break-word;
     351    word-wrap: break-word;
     352    -ms-word-break: break-all;
     353    word-break: break-word;
     354    -ms-hyphens: auto;
     355    -webkit-hyphens: auto;
     356    hyphens: auto;
    350357}
    351358
     
    683690
    684691    .auto-fold #adminmenu a.menu-top {
    685         height: 34px;
     692        min-height: 34px;
    686693    }
    687694
     
    784791    .auto-fold #adminmenu .wp-menu-name {
    785792        position: static;
    786         margin-left: 35px;
    787793    }
    788794
Note: See TracChangeset for help on using the changeset viewer.