Skip to content

Commit

Permalink
Revert "Don't show the presets on mobile"
Browse files Browse the repository at this point in the history
This reverts commit 1ec1d92.
  • Loading branch information
glendaviesnz committed Sep 12, 2022
1 parent f277e14 commit 840188d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/block-library/src/spacer/controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import {
} from '@wordpress/components';
import { useInstanceId } from '@wordpress/compose';
import { View } from '@wordpress/primitives';
import { Platform } from '@wordpress/element';

/**
* Internal dependencies
Expand Down Expand Up @@ -58,9 +57,7 @@ function DimensionInput( { label, onChange, isResizing, value = '' } ) {

return (
<>
{ ( ! spacingSizes ||
spacingSizes?.length === 0 ||
Platform.isNative ) && (
{ ( ! spacingSizes || spacingSizes?.length === 0 ) && (
<BaseControl label={ label } id={ inputId }>
<UnitControl
id={ inputId }
Expand Down

0 comments on commit 840188d

Please sign in to comment.