Skip to content

Commit 1d3baef

Browse files
committed
apply top margin on checkout only
1 parent d1553e6 commit 1d3baef

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

client/checkout/express-checkout-buttons.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
&.is-ready {
1515
opacity: 1;
1616

17-
&:first-child {
18-
margin-top: 4px;
19-
}
20-
2117
&:not( :first-child ) {
2218
margin-top: 12px;
2319
}
@@ -29,6 +25,11 @@
2925
}
3026

3127
.woocommerce-checkout & {
28+
// ECE button
29+
#wcpay-express-checkout-element.is-ready:first-child {
30+
margin-top: 4px;
31+
}
32+
// WooPay button
3233
> div {
3334
margin-top: 4px;
3435
}

0 commit comments

Comments
 (0)