Skip to content

Commit

Permalink
Prevent Express Checkout block from being cut off (woocommerce#7152)
Browse files Browse the repository at this point in the history
* Prevent Express Checkout block from being cut off

* Prevent step numbers from being cut off in editor
  • Loading branch information
nielslange authored and senadir committed Nov 12, 2022
1 parent 55d6ca8 commit ab2f526
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ $border-radius: 5px;
}

.wc-block-components-express-payment--checkout {
margin-top: $border-radius;
/* stylelint-disable-next-line function-calc-no-unspaced-operator */
margin-top: calc($border-radius * 3);

.wc-block-components-express-payment__title-container {
display: flex;
Expand Down Expand Up @@ -130,9 +131,11 @@ $border-radius: 5px;
&::before {
margin-right: 10px;
}

&::after {
margin-left: 10px;
}

&::before,
&::after {
content: " ";
Expand Down
1 change: 1 addition & 0 deletions assets/js/blocks/checkout/styles/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
display: flex;
flex-flow: row wrap;
align-items: flex-start;
padding-left: 5px;

.wc-block-checkout__additional_fields {
padding: 0;
Expand Down

0 comments on commit ab2f526

Please sign in to comment.