Skip to content

Commit

Permalink
Update packages/block-library/src/search/edit.js
Browse files Browse the repository at this point in the history
Co-authored-by: Aki Hamano <[email protected]>
  • Loading branch information
benazeer-ben and t-hamano authored Jan 14, 2025
1 parent dad8083 commit cc4da72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/search/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ export default function SearchEdit( {
onUnitChange={ ( newUnit ) => {
setAttributes( {
width:
newUnit === '%'
'%' === newUnit
? PC_WIDTH_DEFAULT
: PX_WIDTH_DEFAULT,
widthUnit: newUnit,
Expand Down

0 comments on commit cc4da72

Please sign in to comment.