Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Product Gallery: Lock the Sale Badge and the Next/Prev Buttons (#10869)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
danieldudzic authored Sep 11, 2023
1 parent a395753 commit 21789e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/js/blocks/product-gallery/edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ const TEMPLATE: InnerBlockTemplate[] = [
},
},
},
lock: { move: true },
},
],
[
Expand All @@ -70,6 +71,7 @@ const TEMPLATE: InnerBlockTemplate[] = [
type: 'flex',
verticalAlignment: 'bottom',
},
lock: { move: true, remove: true },
},
],
],
Expand Down

0 comments on commit 21789e8

Please sign in to comment.