From 1fea56d8cd42ea964a08417f61ae983cf275fdcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20Juh=C3=A9=20Lluveras?= Date: Mon, 18 May 2020 12:53:57 +0200 Subject: [PATCH] Remove class 'button' from Button component (https://github.com/woocommerce/woocommerce-blocks/pull/2494) --- .../assets/js/base/components/cart-checkout/button/index.js | 1 - .../assets/js/base/components/cart-checkout/button/style.scss | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout/button/index.js b/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout/button/index.js index c38dccf35eb..484ed304a93 100644 --- a/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout/button/index.js +++ b/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout/button/index.js @@ -15,7 +15,6 @@ import './style.scss'; */ const Button = ( { className, showSpinner = false, children, ...props } ) => { const buttonClassName = classNames( - 'button', 'wc-block-components-button', className, { diff --git a/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout/button/style.scss b/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout/button/style.scss index da9b952745e..a6f99371208 100644 --- a/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout/button/style.scss +++ b/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout/button/style.scss @@ -1,4 +1,4 @@ -.button.wc-block-components-button:not(.is-link) { +.wc-block-components-button:not(.is-link) { align-items: center; background-color: $black; color: $white;