Making WordPress.org


Ignore:
Timestamp:
02/17/2022 06:24:06 PM (3 years ago)
Author:
ryelle
Message:

Developer: Set mobile menu on top of the header.

Props kajalgohel.
See #6096.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/main.scss

    r10068 r11574  
    21842184    .current-menu-ancestor .expandable .dashicons:hover,
    21852185    .current-menu-item .expandable .dashicons:hover {
    2186         background-color:: #0073aa !important;
     2186        background-color: #0073aa !important;
    21872187        color: #fff !important;
    21882188    }
     
    22962296body.responsive-show {
    22972297    position: fixed;
    2298     top: 32px;
    22992298
    23002299    #secondary {
     2300        top: var(--wp-admin--admin-bar--height, 0);
    23012301        left: 0;
    23022302        overflow-y: scroll;
     2303        z-index: 500;
    23032304
    23042305        .search-section {
     
    23202321}
    23212322@media only screen and (max-width: 782px) {
    2322     #secondary {
    2323         top: 46px;
    2324     }
    2325 
    23262323    body.responsive-show {
    23272324        position: fixed;
    2328         top: 46px;
    23292325        left: 0;
    23302326        right: 0;
     
    23362332    }
    23372333}
    2338 @media only screen and (max-width: 480px) {
    2339     body.responsive-show #secondary {
    2340         top: 46px;
    2341     }
    2342     body.responsive-show #wpadminbar {
    2343         top: -46px;
    2344     }
    2345 }
    2346 
    23472334@media (max-width: 876px) {
    23482335    #secondary {
Note: See TracChangeset for help on using the changeset viewer.