From 21789e820e68084bc96e37405c90e7a924a26a9b Mon Sep 17 00:00:00 2001 From: Daniel Dudzic Date: Mon, 11 Sep 2023 13:37:27 +0200 Subject: [PATCH] Product Gallery: Lock the Sale Badge and the Next/Prev Buttons (#10869) * Fix "On sale" badge class for shop * Add class to sale badge * Apply styleProps.styles to elements using them * Product Gallery: Lock the Sale Badge and the Next/Prev Buttons --- assets/js/blocks/product-gallery/edit.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/js/blocks/product-gallery/edit.tsx b/assets/js/blocks/product-gallery/edit.tsx index da185ffeebd..d9fb633e1b1 100644 --- a/assets/js/blocks/product-gallery/edit.tsx +++ b/assets/js/blocks/product-gallery/edit.tsx @@ -61,6 +61,7 @@ const TEMPLATE: InnerBlockTemplate[] = [ }, }, }, + lock: { move: true }, }, ], [ @@ -70,6 +71,7 @@ const TEMPLATE: InnerBlockTemplate[] = [ type: 'flex', verticalAlignment: 'bottom', }, + lock: { move: true, remove: true }, }, ], ],