Skip to content

Commit

Permalink
Checkout Terms Block: Fix Terms and Conditions checkbox position in e…
Browse files Browse the repository at this point in the history
…ditor (woocommerce#5150) (woocommerce#5191)

Within the editor, the checkbox appeared aligned at the bottom of the paragraph, while
on the front-end it would appear aligned at the top. The alignment was actually correct
but a top margin was assigned to checkboxes in the backend.

Instead of removing that globally, this commit resets it for checkboxes within the checkout
block.
  • Loading branch information
sunyatasattva authored and jonny-bull committed Dec 14, 2021
1 parent 98c12b2 commit 5e16467
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
}
}

.wc-block-components-checkbox {
margin-top: 0;
}

.wc-block-checkout__terms_notice .components-notice__action {
margin-left: 0;
}
Expand Down

0 comments on commit 5e16467

Please sign in to comment.