diff --git a/packages/block-editor/src/components/inserter/block-patterns-tab/pattern-category-previews.js b/packages/block-editor/src/components/inserter/block-patterns-tab/pattern-category-previews.js index 65d6dd7b40c25f..1955e0ff8bf55a 100644 --- a/packages/block-editor/src/components/inserter/block-patterns-tab/pattern-category-previews.js +++ b/packages/block-editor/src/components/inserter/block-patterns-tab/pattern-category-previews.js @@ -16,9 +16,10 @@ import { __experimentalText as Text, FormToggle, VisuallyHidden, + Tooltip, } from '@wordpress/components'; import { useDispatch, useSelect } from '@wordpress/data'; -import { Icon, fullscreen } from '@wordpress/icons'; +import { Icon, aspectRatio } from '@wordpress/icons'; /** * Internal dependencies @@ -139,6 +140,8 @@ export function PatternCategoryPreviews( { [ setPatternSourceFilter, changePage ] ); + const zoomOutLabel = __( 'Zoom out' ); + return ( <> - - { - if ( isZoomOut ) { - // TODO: We should set it back to what it was, not to edit. - __unstableSetEditorMode( 'edit' ); - } else { - __unstableSetEditorMode( 'zoom-out' ); - } - } } - checked={ isZoomOut } - /> - Full Screen View - - + + + { + if ( isZoomOut ) { + // TODO: We should set it back to what it was, not to edit. + __unstableSetEditorMode( 'edit' ); + } else { + __unstableSetEditorMode( 'zoom-out' ); + } + } } + checked={ isZoomOut } + /> + { zoomOutLabel } + + +