Skip to content

Commit

Permalink
Tweak in Cover block
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Aug 15, 2024
1 parent 04706da commit f069805
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/cover/edit/inspector-controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,12 @@ function CoverHeightInput( {
return (
<UnitControl
__next40pxDefaultSize
label={ __( 'Minimum height of cover' ) }
label={ __( 'Minimum height' ) }
id={ inputId }
isResetValueOnUnitChange
min={ min }
onChange={ handleOnChange }
onUnitChange={ onUnitChange }
__unstableInputWidth="116px"
units={ units }
value={ computedValue }
/>
Expand Down Expand Up @@ -301,6 +300,7 @@ export default function CoverInspectorControls( {
) }
<InspectorControls group="dimensions">
<ToolsPanelItem
className="single-column"
hasValue={ () => !! minHeight }
label={ __( 'Minimum height' ) }
onDeselect={ () =>
Expand Down

0 comments on commit f069805

Please sign in to comment.