diff --git a/packages/edit-site/src/components/sidebar/dimensions-panel.js b/packages/edit-site/src/components/sidebar/dimensions-panel.js index d6df96c0a83edf..abea542bacd082 100644 --- a/packages/edit-site/src/components/sidebar/dimensions-panel.js +++ b/packages/edit-site/src/components/sidebar/dimensions-panel.js @@ -3,7 +3,8 @@ */ import { __ } from '@wordpress/i18n'; import { - __experimentalBlockSupportPanel as BlockSupportPanel, + __experimentalProgressiveDisclosurePanel as ProgressiveDisclosurePanel, + __experimentalProgressiveDisclosurePanelItem as ProgressiveDisclosurePanelItem, __experimentalBoxControl as BoxControl, __experimentalUseCustomUnits as useCustomUnits, } from '@wordpress/components'; @@ -103,37 +104,45 @@ export default function DimensionsPanel( { context, getStyle, setStyle } ) { }; return ( - { showPaddingControl && ( - + > + + ) } { showMarginControl && ( - + > + + ) } - + ); }