Skip to content

Commit 819051f

Browse files
committed
manage margins
1 parent 5b2bfaa commit 819051f

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

client/checkout/express-checkout-buttons.scss

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,16 @@
1414
min-height: 0;
1515
margin: 0;
1616

17-
&:empty {
18-
margin: 0;
19-
padding: 0;
20-
height: 0;
21-
}
22-
2317
&.is-ready {
24-
margin-top: 12px;
2518
opacity: 1;
19+
20+
&:first-child {
21+
margin-top: 4px;
22+
}
23+
24+
&:not( :first-child ) {
25+
margin-top: 12px;
26+
}
2627
}
2728
}
2829

@@ -33,6 +34,10 @@
3334
.woocommerce-checkout & {
3435
margin-top: 0;
3536
}
37+
38+
> div {
39+
margin-top: 4px;
40+
}
3641
}
3742

3843
// This fixes width calculation issues inside the iframe for blocks and shortcode pages.

0 commit comments

Comments
 (0)