Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

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 (#5150)

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 committed Nov 22, 2021
1 parent 28e83ee commit 6dc9cf5
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 6dc9cf5

Please sign in to comment.