Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 3ff4774

Browse files
authored
Fix click on Proceed to checkout bug when Coupon error is visible. (#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.
1 parent d3c2efc commit 3ff4774

File tree

1 file changed

+1
-7
lines changed
  • assets/js/base/components/cart-checkout/totals/coupon

1 file changed

+1
-7
lines changed

assets/js/base/components/cart-checkout/totals/coupon/style.scss

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.wc-block-components-totals-coupon__form {
22
display: flex;
3-
margin-bottom: 0;
3+
margin-bottom: 0.5em;
44
width: 100%;
55

66
.wc-block-components-totals-coupon__input {
@@ -22,10 +22,4 @@
2222
.wc-block-components-totals-coupon__content {
2323
flex-direction: column;
2424
position: relative;
25-
26-
.wc-block-components-validation-error {
27-
margin-top: $gap-smaller;
28-
position: relative;
29-
width: 100%;
30-
}
3125
}

0 commit comments

Comments
 (0)