diff --git a/packages/block-editor/src/components/image-size-control/index.js b/packages/block-editor/src/components/image-size-control/index.js index 0521cf84d869d1..db2ad3c3de14f5 100644 --- a/packages/block-editor/src/components/image-size-control/index.js +++ b/packages/block-editor/src/components/image-size-control/index.js @@ -7,7 +7,6 @@ import { SelectControl, __experimentalNumberControl as NumberControl, __experimentalHStack as HStack, - __experimentalVStack as VStack, } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; @@ -47,11 +46,12 @@ export default function ImageSizeControl( { /> ) } { isResizable && ( - +

{ __( 'Image dimensions' ) }

- +
) } ); diff --git a/packages/block-editor/src/components/image-size-control/style.scss b/packages/block-editor/src/components/image-size-control/style.scss index 9280e32653389d..d01bfc5929fbe3 100644 --- a/packages/block-editor/src/components/image-size-control/style.scss +++ b/packages/block-editor/src/components/image-size-control/style.scss @@ -1,3 +1,8 @@ .block-editor-image-size-control { margin-bottom: 1em; + + .block-editor-image-size-control__width, + .block-editor-image-size-control__height { + margin-bottom: 1.115em; + } } diff --git a/packages/editor/src/components/page-attributes/order.js b/packages/editor/src/components/page-attributes/order.js index 14997e6ad7776b..f226de5a47366d 100644 --- a/packages/editor/src/components/page-attributes/order.js +++ b/packages/editor/src/components/page-attributes/order.js @@ -2,7 +2,11 @@ * WordPress dependencies */ import { __ } from '@wordpress/i18n'; -import { __experimentalNumberControl as NumberControl } from '@wordpress/components'; +import { + Flex, + FlexBlock, + __experimentalNumberControl as NumberControl, +} from '@wordpress/components'; import { withSelect, withDispatch } from '@wordpress/data'; import { compose } from '@wordpress/compose'; import { useState } from '@wordpress/element'; @@ -25,15 +29,19 @@ export const PageAttributesOrder = ( { onUpdateOrder, order = 0 } ) => { }; const value = orderInput === null ? order : orderInput; return ( - { - setOrderInput( null ); - } } - /> + + + { + setOrderInput( null ); + } } + /> + + ); };