From d69ee87c5b1f796ea19a0de7dcc09c628edf90c7 Mon Sep 17 00:00:00 2001 From: Luigi Date: Fri, 28 Oct 2022 10:32:48 +0200 Subject: [PATCH 1/3] fix inconsistent button styling with TT3 --- assets/js/atomic/blocks/product-elements/button/block.js | 2 ++ src/BlockTypes/AbstractProductGrid.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/js/atomic/blocks/product-elements/button/block.js b/assets/js/atomic/blocks/product-elements/button/block.js index 579424b2f1b..19a63d8e0ef 100644 --- a/assets/js/atomic/blocks/product-elements/button/block.js +++ b/assets/js/atomic/blocks/product-elements/button/block.js @@ -162,6 +162,7 @@ const AddToCartButton = ( { aria-label={ buttonAriaLabel } className={ classnames( 'wp-block-button__link', + 'wp-element-button', 'add_to_cart_button', 'wc-block-components-product-button__button', colorStyles.className, @@ -206,6 +207,7 @@ const AddToCartButtonPlaceholder = ( {