Make WordPress Core

Changeset 42036


Ignore:
Timestamp:
10/28/2017 06:53:40 AM (7 years ago)
Author:
westonruter
Message:

Customize: Fix mobile placement of panes for available widgets and nav menu items.

Props Mahvash-Fatima.
Amends [41893].
See #42215.
Fixes #42359.

File:
1 edited

Legend:

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

    r41949 r42036  
    28652865@media screen and ( max-width: 640px ) {
    28662866
    2867     .wp-full-overlay.expanded,
    2868     .outer-section-open .wp-full-overlay.expanded {
    2869         margin-left: 0;
    2870     }
    2871 
    28722867    /* when the sidebar is collapsed and switching to responsive view,
    28732868       bring it back see ticket #35220 */
     
    29322927    }
    29332928
    2934     .wp-full-overlay.expanded {
    2935         margin-left: 300px;
    2936     }
    2937 
    29382929    .wp-core-ui.wp-customizer .button {
    29392930        padding: 6px 14px;
     
    29552946    body.adding-menu-items div#available-menu-items,
    29562947    body.outer-section-open div#customize-sidebar-outer-content {
    2957         top: 46px;
    2958         left: 0;
    2959         z-index: 10;
    29602948        width: 100%;
    2961     }
    2962 
    2963     body.wp-customizer .wp-full-overlay.expanded #customize-sidebar-outer-content {
    2964         left: -100%;
    2965     }
    2966 
    2967     body.wp-customizer.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content {
    2968         left: 0;
    29692949    }
    29702950
     
    30413021        box-shadow: none;
    30423022    }
    3043 }
     3023
     3024    .wp-full-overlay.expanded {
     3025        margin-left: 0;
     3026    }
     3027
     3028    body.adding-widget div#available-widgets,
     3029    body.adding-menu-items div#available-menu-items,
     3030    body.outer-section-open div#customize-sidebar-outer-content {
     3031        top: 46px;
     3032        z-index: 10;
     3033    }
     3034
     3035    body.wp-customizer .wp-full-overlay.expanded #customize-sidebar-outer-content {
     3036        left: -100%;
     3037    }
     3038
     3039    body.wp-customizer.outer-section-open .wp-full-overlay.expanded #customize-sidebar-outer-content {
     3040        left: 0;
     3041    }
     3042}
Note: See TracChangeset for help on using the changeset viewer.