Skip to content

Commit

Permalink
Use 40px size for the Unit control.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Jul 24, 2024
1 parent 8f8c23f commit 995435b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/spacer/controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ function DimensionInput( { label, onChange, isResizing, value = '' } ) {
isResetValueOnUnitChange
min={ MIN_SPACER_SIZE }
onChange={ handleOnChange }
style={ { maxWidth: 80 } }
style={ { maxWidth: '50%' } }
value={ computedValue }
units={ units }
label={ label }
__next40pxDefaultSize
/>
) }

{ spacingSizes?.length > 0 && (
<View className="tools-panel-item-spacing">
<SpacingSizesControl
Expand Down

0 comments on commit 995435b

Please sign in to comment.