Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix values
Co-authored-by: Gerardo Pacheco <gerardo.pacheco@automattic.com>
  • Loading branch information
enejb and Gerardo Pacheco committed Feb 25, 2021
commit 639a7cfc40d4c9647f3afd637d496da598fd56e6
8 changes: 4 additions & 4 deletions packages/block-library/src/button/edit.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ function WidthPanel( { selectedWidth, setAttributes } ) {

const options = [
{ value: 'auto', label: __( 'Auto' ) },
{ value: '25', label: '25%' },
{ value: '50', label: '50%' },
{ value: '75', label: '75%' },
{ value: '100', label: '100%' },
{ value: 25, label: '25%' },
{ value: 50, label: '50%' },
{ value: 75, label: '75%' },
{ value: 100, label: '100%' },
];

if ( ! selectedWidth ) {
Expand Down