Skip to content

Commit b251dea

Browse files
committed
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. git-svn-id: https://develop.svn.wordpress.org/trunk@59821 602fd350-edb4-49c9-b593-d223f7449a82
1 parent e6a8792 commit b251dea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/wp-admin/css/themes.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
overflow-y: scroll;
1212
}
1313

14+
.themes-php #adminmenuwrap {
15+
z-index: 10001; /* above Theme Overlay */
16+
}
17+
1418
body.js .theme-browser.search-loading {
1519
display: none;
1620
}
@@ -372,6 +376,7 @@ body.js .theme-browser.search-loading {
372376
background: #f0f0f1;
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

377382
.theme-overlay .theme-header {

0 commit comments

Comments
 (0)