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

Remove styling from sale badge #12077

Merged
merged 2 commits into from
Dec 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions assets/js/atomic/blocks/product-elements/image/block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ export const Block = ( props: Props ): JSX.Element | null => {
},
};

// Remove parent block custom styles from sale badge.
delete restProps.style;

return (
<div
className={ classnames(
Expand Down
Loading