We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 703dd33 commit 47b74aaCopy full SHA for 47b74aa
packages/block-library/src/gallery/edit.js
@@ -343,7 +343,11 @@ class GalleryEdit extends Component {
343
return mediaPlaceholder;
344
}
345
346
- const imageSizeOptions = this.getImagesSizeOptions();
+ // disable image size options on mobile for now
347
+ const imageSizeOptions = Platform.select( {
348
+ web: this.getImagesSizeOptions(),
349
+ native: [],
350
+ } );
351
const shouldShowSizeOptions = hasImages && ! isEmpty( imageSizeOptions );
352
// This is needed to fix a separator fence-post issue on mobile.
353
const mobileLinkToProps = shouldShowSizeOptions ?
0 commit comments