Skip to content

Commit a32d702

Browse files
authored
Add style to coupon error inline message (#2178)
1 parent 09f8b6a commit a32d702

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

assets/css/woocommerce/woocommerce.scss

+17
Original file line numberDiff line numberDiff line change
@@ -1204,12 +1204,21 @@ table.cart {
12041204
padding-bottom: 1em;
12051205
margin-bottom: 1em;
12061206
border-bottom: 1px solid $color_border;
1207+
1208+
.coupon-error-notice {
1209+
color: $error;
1210+
text-align: left;
1211+
}
12071212
}
12081213

12091214
input {
12101215
display: block;
12111216
width: 100%;
12121217
margin: ms(-3) 0;
1218+
1219+
&.input-text.has-error {
1220+
box-shadow: inset 2px 0 0 $error;
1221+
}
12131222
}
12141223
}
12151224
}
@@ -1275,6 +1284,14 @@ ul#shipping_method {
12751284
*/
12761285
.checkout_coupon {
12771286
margin-bottom: ms(5);
1287+
1288+
.coupon-error-notice {
1289+
color: $error;
1290+
}
1291+
1292+
.input-text.has-error {
1293+
box-shadow: inset 2px 0 0 $error;
1294+
}
12781295
}
12791296

12801297
form.checkout {

0 commit comments

Comments
 (0)