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.
This commit is contained in:
Raluca Stan 2021-03-31 10:50:00 +01:00 committed by GitHub
parent 5e997628b5
commit 853a05c77c
1 changed files with 1 additions and 7 deletions

View File

@ -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%;
}
}