Customize: Prevent wide widgets from being displayed as wide when Customizer is displayed in mobile breakpoint.
Fixes #41624. git-svn-id: https://develop.svn.wordpress.org/trunk@41247 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cc8cbb38c9
commit
a29068cb00
@ -593,7 +593,7 @@
|
||||
var self = this, $widgetInside, $widgetForm, $customizeSidebar,
|
||||
$themeControlsContainer, positionWidget;
|
||||
|
||||
if ( ! this.params.is_wide ) {
|
||||
if ( ! this.params.is_wide || $( window ).width() <= 640 /* max-width breakpoint in customize-controls.css */ ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user