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:
parent
d15347ae52
commit
253c7f03cc
@ -2317,6 +2317,10 @@ p.customize-section-description {
|
|||||||
z-index: -1;
|
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 {
|
.wp-customizer .theme-overlay .theme-backdrop {
|
||||||
background: rgba( 238, 238, 238, 0.75 );
|
background: rgba( 238, 238, 238, 0.75 );
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
@ -3065,13 +3065,17 @@
|
|||||||
.addClass( 'in-themes-panel' )
|
.addClass( 'in-themes-panel' )
|
||||||
.delay( 200 ).find( '.customize-themes-full-container' ).addClass( 'animate' );
|
.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).
|
// Automatically open the installed themes section (except on small screens).
|
||||||
if ( 600 < window.innerWidth ) {
|
if ( 600 < window.innerWidth ) {
|
||||||
api.section( 'installed_themes' ).expand();
|
api.section( 'installed_themes' ).expand();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
overlay
|
overlay
|
||||||
.removeClass( 'in-themes-panel' )
|
.removeClass( 'in-themes-panel themes-panel-expanded' )
|
||||||
.find( '.customize-themes-full-container' ).removeClass( 'animate' );
|
.find( '.customize-themes-full-container' ).removeClass( 'animate' );
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user