Skip to content

Commit

Permalink
Merge branch 'trunk' into fix/ras-acc-order-details
Browse files Browse the repository at this point in the history
  • Loading branch information
laurelfulford authored Nov 29, 2024
2 parents bc72a5f + 8cb6ead commit 236f362
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/modal-checkout/checkout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@
font-size: var(--newspack-ui-font-size-s, 16px);
line-height: var(--newspack-ui-line-height-s, 1.5);
}

// A hacky way to hide these fields if they have no children; :empty is not working since they contain line breaks when empty.
&:not(:has(> *)) {
display: none;
}
}

.woocommerce-billing-fields__field-wrapper ~ .form-row {
Expand Down

0 comments on commit 236f362

Please sign in to comment.