Product Gallery: Lock the Sale Badge and the Next/Prev Buttons (https://github.com/woocommerce/woocommerce-blocks/pull/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
This commit is contained in:
Daniel Dudzic 2023-09-11 13:37:27 +02:00 committed by GitHub
parent 48650a8655
commit 75bba1d55d
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,7 @@ const TEMPLATE: InnerBlockTemplate[] = [
}, },
}, },
}, },
lock: { move: true },
}, },
], ],
[ [
@ -70,6 +71,7 @@ const TEMPLATE: InnerBlockTemplate[] = [
type: 'flex', type: 'flex',
verticalAlignment: 'bottom', verticalAlignment: 'bottom',
}, },
lock: { move: true, remove: true },
}, },
], ],
], ],