Skip to content

Commit bc49aa7

Browse files
committed
remove redundant top margin and leave the less specific one to cover both buttons
1 parent dbdd70d commit bc49aa7

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

client/checkout/express-checkout-buttons.scss

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
.wcpay-express-checkout-wrapper {
2-
// existing styles that should not be changed
32
width: 100%;
43
clear: both;
54

6-
// new styles that should be added
75
display: flex;
86
flex-direction: column;
97

10-
// Move opacity handling to ECE element only
118
#wcpay-express-checkout-element {
129
opacity: 0;
1310
transition: all 0.3s ease-in-out;
@@ -17,10 +14,6 @@
1714
&.is-ready {
1815
opacity: 1;
1916

20-
&:first-child {
21-
margin-top: 4px;
22-
}
23-
2417
&:not( :first-child ) {
2518
margin-top: 12px;
2619
}
@@ -32,8 +25,6 @@
3225
}
3326

3427
.woocommerce-checkout & {
35-
margin-top: 0;
36-
3728
> div {
3829
margin-top: 4px;
3930
}

0 commit comments

Comments
 (0)