diff --git a/packages/block-editor/src/components/block-variation-transforms/index.js b/packages/block-editor/src/components/block-variation-transforms/index.js index f03e72843d473..60b78c4202f8a 100644 --- a/packages/block-editor/src/components/block-variation-transforms/index.js +++ b/packages/block-editor/src/components/block-variation-transforms/index.js @@ -86,15 +86,13 @@ function VariationsDropdown( { toggleProps={ { iconPosition: 'right' } } > { () => ( -
- - - -
+ + + ) } ); diff --git a/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menu/more-menu.js b/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menu/more-menu.js index a07167413ae11..3ee5995288822 100644 --- a/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menu/more-menu.js +++ b/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menu/more-menu.js @@ -45,47 +45,45 @@ export default function ScreenNavigationMoreMenu( props ) { popoverProps={ POPOVER_PROPS } > { ( { onClose } ) => ( -
- - { - openRenameModal(); - // Close the dropdown after opening the modal. - onClose(); - } } - > - { __( 'Rename' ) } - - { - history.navigate( - `/wp_navigation/${ menuId }?canvas=edit` - ); - } } - > - { __( 'Edit' ) } - - { - onDuplicate(); - onClose(); - } } - > - { __( 'Duplicate' ) } - - { - openDeleteConfirmDialog(); + + { + openRenameModal(); + // Close the dropdown after opening the modal. + onClose(); + } } + > + { __( 'Rename' ) } + + { + history.navigate( + `/wp_navigation/${ menuId }?canvas=edit` + ); + } } + > + { __( 'Edit' ) } + + { + onDuplicate(); + onClose(); + } } + > + { __( 'Duplicate' ) } + + { + openDeleteConfirmDialog(); - // Close the dropdown after opening the modal. - onClose(); - } } - > - { __( 'Delete' ) } - - -
+ // Close the dropdown after opening the modal. + onClose(); + } } + > + { __( 'Delete' ) } + + ) } { deleteConfirmDialogOpen && (