WordPress.org

Make WordPress Core

Ticket #49375: 49375.diff

File 49375.diff, 937 bytes (added by audrasjb, 12 months ago)

Menus: Better support for medium screens in menu items accordions

  • src/wp-admin/css/nav-menus.css

    diff --git a/src/wp-admin/css/nav-menus.css b/src/wp-admin/css/nav-menus.css
    index ca15b2195f..fb7490fc70 100644
    a b ul.add-menu-item-tabs li { 
    445445        padding: 10px 15px;
    446446        height: auto;
    447447        min-height: 20px;
    448         width: 382px;
     448        max-width: 382px;
    449449        line-height: 2.30769230;
    450450        overflow: hidden;
    451451        word-wrap: break-word;
    body.menu-max-depth-11 { min-width: 1280px !important; } 
    639639
    640640.menu-item-settings {
    641641        display: block;
    642         width: 402px;
     642        max-width: 402px;
    643643        padding: 10px 0 10px 10px;
    644644        position: relative;
    645645        z-index: 10; /* Keep .item-title's shadow from appearing on top of .menu-item-settings */
    body.menu-max-depth-11 { min-width: 1280px !important; } 
    771771        .nav-menus-php #post-body-content{
    772772                min-width: 0;
    773773        }
    774 
    775         .menu-item-bar .menu-item-handle{
    776                 width: 90%;
    777         }
    778774}
    779775
    780776@media screen and (max-width: 782px) {