Skip to content

Commit

Permalink
Button: Update Settings text labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Dec 24, 2024
1 parent c3ca59b commit 3921211
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/button/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,14 @@ function WidthPanel( { selectedWidth, setAttributes } ) {
dropdownMenuProps={ dropdownMenuProps }
>
<ToolsPanelItem
label={ __( 'Button width' ) }
label={ __( 'Width' ) }
isShownByDefault
hasValue={ () => !! selectedWidth }
onDeselect={ () => setAttributes( { width: undefined } ) }
__nextHasNoMarginBottom
>
<ToggleGroupControl
label={ __( 'Button width' ) }
label={ __( 'Width' ) }
value={ selectedWidth }
onChange={ ( newWidth ) =>
setAttributes( { width: newWidth } )
Expand Down

0 comments on commit 3921211

Please sign in to comment.