Make WordPress Core

Ticket #61662: 61662.resize-menus-only.diff

File 61662.resize-menus-only.diff, 1.7 KB (added by sabernhardt, 2 months ago)

alternative option: undo changes to edit.css and move those to nav-menus.css with #menu-settings-column scope

  • src/wp-admin/css/edit.css

     
    12711271        margin: 0;
    12721272}
    12731273
    1274 .categorydiv,
    1275 .customlinkdiv,
    1276 .posttypediv,
    1277 .taxonomydiv {
    1278         max-height: inherit;
    1279         height: 100%;
    1280 }
    1281 
    12821274.wp-tab-panel,
    12831275.categorydiv div.tabs-panel,
    12841276.customlinkdiv div.tabs-panel,
     
    12851277.posttypediv div.tabs-panel,
    12861278.taxonomydiv div.tabs-panel {
    12871279        min-height: 42px;
    1288         /* Allow space for content after tab panels in nav menu editor. */
    1289         max-height: calc( 100% - 75px );
    1290         height: 100%;
     1280        max-height: 200px;
    12911281        overflow: auto;
    12921282        padding: 0 0.9em;
    12931283        border: solid 1px #dcdcde;
  • src/wp-admin/css/nav-menus.css

     
    5353        max-height: inherit;
    5454}
    5555
     56#menu-settings-column .categorydiv,
     57#menu-settings-column .customlinkdiv,
     58#menu-settings-column .posttypediv,
     59#menu-settings-column .taxonomydiv {
     60        max-height: inherit;
     61        height: 100%;
     62}
     63
     64#menu-settings-column .wp-tab-panel,
     65#menu-settings-column .categorydiv div.tabs-panel,
     66#menu-settings-column .customlinkdiv div.tabs-panel,
     67#menu-settings-column .posttypediv div.tabs-panel,
     68#menu-settings-column .taxonomydiv div.tabs-panel {
     69        /* Allow space for content after tab panels in nav menu editor. */
     70        max-height: calc( 100% - 75px );
     71        height: 100%;
     72}
     73
    5674.metabox-holder-disabled .postbox,
    5775.metabox-holder-disabled .accordion-section-content,
    5876.metabox-holder-disabled .accordion-section-title {