Skip to content

Commit

Permalink
Update column input to be default 40px. (#64190)
Browse files Browse the repository at this point in the history
* Update column input to be default 40px.

* Change label to default placement

---------

Co-authored-by: jasmussen <[email protected]>
Co-authored-by: t-hamano <[email protected]>
  • Loading branch information
3 people authored Aug 2, 2024
1 parent eea8d08 commit 6698215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/column/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ function ColumnInspectorControls( { width, setAttributes } ) {
<PanelBody title={ __( 'Settings' ) }>
<UnitControl
label={ __( 'Width' ) }
labelPosition="edge"
__unstableInputWidth="80px"
__unstableInputWidth="calc(50% - 8px)"
__next40pxDefaultSize
value={ width || '' }
onChange={ ( nextWidth ) => {
nextWidth = 0 > parseFloat( nextWidth ) ? '0' : nextWidth;
Expand Down

0 comments on commit 6698215

Please sign in to comment.