From 853a05c77cbd614f2006a541341aea125c85331d Mon Sep 17 00:00:00 2001 From: Raluca Stan Date: Wed, 31 Mar 2021 10:50:00 +0100 Subject: [PATCH] Fix click on Proceed to checkout bug when Coupon error is visible. (https://github.com/woocommerce/woocommerce-blocks/pull/3996) * Fix click on Proceed to checkout bug when Coupon error is visible. The bug happened because of the layout shift produced by the error message disappearance. --- .../components/cart-checkout/totals/coupon/style.scss | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout/totals/coupon/style.scss b/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout/totals/coupon/style.scss index d7432452f32..6372a83a659 100644 --- a/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout/totals/coupon/style.scss +++ b/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout/totals/coupon/style.scss @@ -1,6 +1,6 @@ .wc-block-components-totals-coupon__form { display: flex; - margin-bottom: 0; + margin-bottom: 0.5em; width: 100%; .wc-block-components-totals-coupon__input { @@ -22,10 +22,4 @@ .wc-block-components-totals-coupon__content { flex-direction: column; position: relative; - - .wc-block-components-validation-error { - margin-top: $gap-smaller; - position: relative; - width: 100%; - } }