WordPress.org

Make WordPress Core

Ticket #51631: 51631.2.diff

File 51631.2.diff, 558 bytes (added by maxpertici, 10 months ago)

sticky-on-footer

  • 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 5d148567e4..fc29407af0 100644
    a b body.menu-max-depth-11 { min-width: 1280px !important; } 
    777777        }
    778778}
    779779
     780@media only screen and (min-width: 783px) {
     781        @supports (position:sticky) {
     782                #nav-menu-footer {
     783                        position: sticky;
     784                        bottom: 0;
     785                }
     786
     787                #save_menu_header {
     788                        display: none;
     789                }
     790        }
     791}
     792
    780793@media screen and (max-width: 782px) {
    781794        body.nav-menus-php,
    782795        body.wp-customizer {