diff --git a/packages/block-library/src/cover/edit.js b/packages/block-library/src/cover/edit.js index d10d874a25dc42..bbcae8fad7e02d 100644 --- a/packages/block-library/src/cover/edit.js +++ b/packages/block-library/src/cover/edit.js @@ -572,9 +572,15 @@ function CoverEdit( { hasValue={ () => !! minHeight } label={ __( 'Minimum height' ) } onDeselect={ () => - setAttributes( { minHeight: undefined } ) + setAttributes( { + minHeight: undefined, + minHeightUnit: undefined, + } ) } - resetAllFilter={ () => ( { minHeight: undefined } ) } + resetAllFilter={ () => ( { + minHeight: undefined, + minHeightUnit: undefined, + } ) } isShownByDefault={ true } >