diff --git a/src/views/gutenberg-blocks/blocks/item-gallery/block.json b/src/views/gutenberg-blocks/blocks/item-gallery/block.json index 566f9604b..82a3341e3 100644 --- a/src/views/gutenberg-blocks/blocks/item-gallery/block.json +++ b/src/views/gutenberg-blocks/blocks/item-gallery/block.json @@ -118,6 +118,9 @@ "background": true, "gradients": true, "link": true + }, + "spacing": { + "padding": true } }, "editorScript": "item-gallery", diff --git a/src/views/gutenberg-blocks/blocks/item-gallery/edit.js b/src/views/gutenberg-blocks/blocks/item-gallery/edit.js index 49d1d97f0..7ab1d10a3 100644 --- a/src/views/gutenberg-blocks/blocks/item-gallery/edit.js +++ b/src/views/gutenberg-blocks/blocks/item-gallery/edit.js @@ -240,7 +240,7 @@ export default function ({ attributes, setAttributes, className, isSelected, cli { openLightboxOnClick ? $block_custom_css,