Skip to content

Commit

Permalink
fix: make sure fields after floated inputs clear floats in the modal …
Browse files Browse the repository at this point in the history
…checkout (#2030)
  • Loading branch information
laurelfulford authored Jan 23, 2025
1 parent 9d8d320 commit 274b4d4
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/modal-checkout/checkout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,16 @@
}
}

.woocommerce-billing-fields__field-wrapper ~ .form-row {
margin: var(--newspack-ui-spacer-5, 24px) 0 0;
.woocommerce-billing-fields__field-wrapper {
&::after {
clear: both;
content: "";
display: table;
}

& ~ .form-row {
margin: var(--newspack-ui-spacer-5, 24px) 0 0;
}
}

// Additional fields
Expand Down

0 comments on commit 274b4d4

Please sign in to comment.