From 3effb45f5c8235ed5570a3fa7924d8ad70c3d6de Mon Sep 17 00:00:00 2001 From: Matthew Kevins Date: Tue, 12 Nov 2019 15:11:19 +1000 Subject: [PATCH] Add isNarrow flag below large breakpoint in gallery --- packages/block-library/src/gallery/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/gallery/edit.js b/packages/block-library/src/gallery/edit.js index 7a31268567403b..34df9ebafaa418 100644 --- a/packages/block-library/src/gallery/edit.js +++ b/packages/block-library/src/gallery/edit.js @@ -343,5 +343,5 @@ export default compose( [ return { mediaUpload }; } ), withNotices, - withViewportMatch( { isMobile: '< small' } ), + withViewportMatch( { isMobile: '< small', isNarrow: '< large' } ), ] )( GalleryEdit );