Skip to content

Commit dcb9c3b

Browse files
Adjust Stripe Card errors.
Closes #226
1 parent 1c1d59b commit dcb9c3b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

resources/assets/scss/modules/woocommerce-checkout.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,13 +231,27 @@ form.woocommerce-checkout {
231231
font-size: $font-size-base;
232232
}
233233

234+
// Stripe
235+
234236
#stripe-card-element,
235237
#stripe-exp-element,
236238
#stripe-cvc-element {
237239

238240
@include form-input();
239241
}
240242

243+
form.woocommerce-checkout {
244+
245+
.stripe-source-errors {
246+
margin: $spacer 0 0;
247+
248+
.woocommerce-error {
249+
margin: 0;
250+
list-style: none;
251+
}
252+
}
253+
}
254+
241255
.woocommerce-checkout #payment ul.payment_methods li img.stripe-icon,
242256
#add_payment_method #payment ul.payment_methods li img.stripe-icon {
243257
height: 16px;

0 commit comments

Comments
 (0)