Skip to content

Commit

Permalink
[Mobile] Fix blank image size labels on mobile (#19800)
Browse files Browse the repository at this point in the history
* Fix blank image size labels on mobile

* Use name instead of label in default imageSizes
  • Loading branch information
mkevins authored Feb 3, 2020
1 parent f1e45f4 commit f3d8bd1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/block-editor/src/store/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ export const SETTINGS_DEFAULTS = {
],

imageSizes: [
{ slug: 'thumbnail', label: __( 'Thumbnail' ) },
{ slug: 'medium', label: __( 'Medium' ) },
{ slug: 'large', label: __( 'Large' ) },
{ slug: 'full', label: __( 'Full Size' ) },
{ slug: 'thumbnail', name: __( 'Thumbnail' ) },
{ slug: 'medium', name: __( 'Medium' ) },
{ slug: 'large', name: __( 'Large' ) },
{ slug: 'full', name: __( 'Full Size' ) },
],

// This is current max width of the block inner area
Expand Down

0 comments on commit f3d8bd1

Please sign in to comment.