Make WordPress Core

Ticket #51631: 51631.3.diff

File 51631.3.diff, 825 bytes (added by maxpertici, 3 years ago)
  • 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 ee650b0dc7..604e1232f4 100644
    a b body.menu-max-depth-11 { min-width: 1280px !important; } 
    891891        }
    892892}
    893893
     894@media only screen and (min-width: 783px) {
     895    @supports (position: sticky) and (scroll-margin-bottom: 130px) {
     896               
     897                .menu-edit input,
     898                .menu-edit button,
     899                .menu-edit a{
     900                        scroll-margin-bottom: 130px;
     901                }
     902
     903        #nav-menu-footer {
     904                position: sticky;
     905                                bottom: 0;
     906                                z-index: 10;
     907                                box-shadow: 0 -1px 0 0px #ddd;
     908        }
     909
     910        #save_menu_header {
     911                display: none;
     912        }
     913    }
     914}
     915
    894916@media only screen and (max-width: 768px) {
    895917        /* menu locations */
    896918        #menu-locations-wrap .widefat {