Skip to content

Commit 6698215

Browse files
jasmussenjasmussent-hamano
authored
Update column input to be default 40px. (#64190)
* Update column input to be default 40px. * Change label to default placement --------- Co-authored-by: jasmussen <joen@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org>
1 parent eea8d08 commit 6698215

File tree

1 file changed

+2
-2
lines changed
  • packages/block-library/src/column

1 file changed

+2
-2
lines changed

packages/block-library/src/column/edit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ function ColumnInspectorControls( { width, setAttributes } ) {
3333
<PanelBody title={ __( 'Settings' ) }>
3434
<UnitControl
3535
label={ __( 'Width' ) }
36-
labelPosition="edge"
37-
__unstableInputWidth="80px"
36+
__unstableInputWidth="calc(50% - 8px)"
37+
__next40pxDefaultSize
3838
value={ width || '' }
3939
onChange={ ( nextWidth ) => {
4040
nextWidth = 0 > parseFloat( nextWidth ) ? '0' : nextWidth;

0 commit comments

Comments
 (0)