diff --git a/packages/edit-widgets/src/components/more-menu/index.js b/packages/edit-widgets/src/components/more-menu/index.js index 2c93b5589232ba..72445fef10c6a6 100644 --- a/packages/edit-widgets/src/components/more-menu/index.js +++ b/packages/edit-widgets/src/components/more-menu/index.js @@ -12,6 +12,7 @@ import { __, _x } from '@wordpress/i18n'; import { external, moreVertical } from '@wordpress/icons'; import { displayShortcut } from '@wordpress/keycodes'; import { useShortcut } from '@wordpress/keyboard-shortcuts'; +import { useViewportMatch } from '@wordpress/compose'; /** * Internal dependencies @@ -43,6 +44,8 @@ export default function MoreMenu() { } ); + const isLargeViewport = useViewportMatch( 'medium' ); + return ( <> { () => ( <> - - - + { isLargeViewport && ( + + + + ) } {