Skip to content

Commit

Permalink
fix: WooPay 'Save my info' spacing (#7405)
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Moore <[email protected]>
  • Loading branch information
2 people authored and RadoslavGeorgiev committed Oct 13, 2023
1 parent 8454cd9 commit 2aec7cc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
4 changes: 4 additions & 0 deletions changelog/fix-woopay-save-my-info-styles
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fix

Fix WooPay Same My Info adding unnecessary spacing to checkout
15 changes: 10 additions & 5 deletions client/settings/phone-input/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@
display: flex;
flex-direction: column;
gap: $gap;
margin-top: $gap-large;

&:not( :empty ) {
#payment .wc_payment_methods.payment_methods.methods + & {
margin-top: $gap-large;

+ .place-order {
margin-top: $gap-large;
}
}
}

h3 {
margin-bottom: 0;
Expand Down Expand Up @@ -106,10 +115,6 @@
.save-details-form.place-order {
margin-top: $gap-smaller;
}

.woopay-save-new-user-container + .place-order {
margin-top: $gap-large !important;
}
}

// compulsary overrides required for intl-tel-input
Expand Down

0 comments on commit 2aec7cc

Please sign in to comment.