From 5aa8c950dfd4d5e52d079d6d809a63f28211bdd8 Mon Sep 17 00:00:00 2001 From: Niels Lange Date: Wed, 29 Mar 2023 10:59:55 +0700 Subject: [PATCH] =?UTF-8?q?Ensure=20Checkout=20block=20supports=20the=20th?= =?UTF-8?q?eme-level=20global=20styles=20for=20Typography=20=C2=BB=20Butto?= =?UTF-8?q?ns?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/js/base/components/button/style.scss | 5 ----- .../checkout/inner-blocks/checkout-actions-block/style.scss | 2 -- 2 files changed, 7 deletions(-) diff --git a/assets/js/base/components/button/style.scss b/assets/js/base/components/button/style.scss index 4b0ea7771af..7f54761e831 100644 --- a/assets/js/base/components/button/style.scss +++ b/assets/js/base/components/button/style.scss @@ -57,12 +57,7 @@ } body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) { - @include reset-typography(); - font-weight: bold; - line-height: 1; padding: 0 em($gap); - text-decoration: none; - text-transform: none; &:focus { box-shadow: 0 0 0 2px $studio-blue; diff --git a/assets/js/blocks/checkout/inner-blocks/checkout-actions-block/style.scss b/assets/js/blocks/checkout/inner-blocks/checkout-actions-block/style.scss index 15f3697cad1..c571526ab3d 100644 --- a/assets/js/blocks/checkout/inner-blocks/checkout-actions-block/style.scss +++ b/assets/js/blocks/checkout/inner-blocks/checkout-actions-block/style.scss @@ -10,8 +10,6 @@ height: auto; .wc-block-components-button__text { - line-height: 24px; - > svg { fill: $white; vertical-align: top;