Customize: Fix rendering issues in theme browsing when opening theme details or performing search in Safari.

Props sayedwp.
See #37661.
Fixes #42052.


git-svn-id: https://develop.svn.wordpress.org/trunk@41948 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Weston Ruter 2017-10-19 17:56:56 +00:00
parent d15347ae52
commit 253c7f03cc
2 changed files with 9 additions and 1 deletions

View File

@ -2317,6 +2317,10 @@ p.customize-section-description {
z-index: -1;
}
.wp-full-overlay.in-themes-panel.themes-panel-expanded #customize-controls .wp-full-overlay-sidebar-content {
overflow: visible;
}
.wp-customizer .theme-overlay .theme-backdrop {
background: rgba( 238, 238, 238, 0.75 );
position: fixed;

View File

@ -3065,13 +3065,17 @@
.addClass( 'in-themes-panel' )
.delay( 200 ).find( '.customize-themes-full-container' ).addClass( 'animate' );
_.delay( function() {
overlay.addClass( 'themes-panel-expanded' );
}, 200 );
// Automatically open the installed themes section (except on small screens).
if ( 600 < window.innerWidth ) {
api.section( 'installed_themes' ).expand();
}
} else {
overlay
.removeClass( 'in-themes-panel' )
.removeClass( 'in-themes-panel themes-panel-expanded' )
.find( '.customize-themes-full-container' ).removeClass( 'animate' );
}
},