diff --git a/packages/block-library/src/post-featured-image/dimension-controls.js b/packages/block-library/src/post-featured-image/dimension-controls.js index c3bccdf35b608b..5e1204922880c6 100644 --- a/packages/block-library/src/post-featured-image/dimension-controls.js +++ b/packages/block-library/src/post-featured-image/dimension-controls.js @@ -70,6 +70,10 @@ const DimensionControls = ( { } ); }; const scaleLabel = _x( 'Scale', 'Image scaling options' ); + + const showScaleControl = + height || ( aspectRatio && aspectRatio !== 'auto' ); + return ( - { ( height || ( aspectRatio && aspectRatio !== 'auto' ) ) && ( + { showScaleControl && ( !! scale && scale !== DEFAULT_SCALE } label={ scaleLabel }