diff --git a/packages/block-library/src/gallery/editor.scss b/packages/block-library/src/gallery/editor.scss index e75472029cc0a..63b711af4e5e8 100644 --- a/packages/block-library/src/gallery/editor.scss +++ b/packages/block-library/src/gallery/editor.scss @@ -54,7 +54,8 @@ ul.wp-block-gallery { } } - .is-selected { + .is-selected .block-library-gallery-item__move-menu, + .is-selected .block-library-gallery-item__inline-menu { background-color: theme(primary); .components-button { diff --git a/packages/block-library/src/gallery/gallery-image.js b/packages/block-library/src/gallery/gallery-image.js index 2bf0579dc0177..f19588f5fc6bd 100644 --- a/packages/block-library/src/gallery/gallery-image.js +++ b/packages/block-library/src/gallery/gallery-image.js @@ -137,6 +137,7 @@ class GalleryImage extends Component { { +const MenuBox = ( { right, isSelected, isCompact, children, className } ) => { const side = right ? { right: '-2px' } : { left: '-2px' }; return (