Make WordPress Core

Changeset 59821


Ignore:
Timestamp:
02/13/2025 11:50:08 PM (3 months ago)
Author:
joedolson
Message:

Themes: Allow use of sidebar submenus when theme details open.

Increase the z-index of sidebar submenus in the theme browser screens so that submenus are not placed behind the theme details overlay. Also set a min-height to ensure the overlay covers the entire screen if content is short.

Props codexdemon, amolebonde, yahil, girishpanchal, chintanmachhi207, mp518, janak007, worldweb, ralessio, sabernhardt, boogah, mikinc860, adamsilverstein, subrataemfluence, huzaifaalmesbah, lakshmananphp, amin7, imranhasanraaz, mdibrahimk48.
Fixes #41155.

File:
1 edited

Legend:

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

    r59708 r59821  
    1010.themes-php {
    1111    overflow-y: scroll;
     12}
     13
     14.themes-php #adminmenuwrap {
     15    z-index: 10001; /* above Theme Overlay */
    1216}
    1317
     
    373377    background: rgba(240, 240, 241, 0.9);
    374378    z-index: 10000; /* Over WP Pointers. */
     379    min-height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
    375380}
    376381
Note: See TracChangeset for help on using the changeset viewer.