Skip to content

Commit

Permalink
fix(storefront): BCTHEME-325 Apple pay button displaying needs to be …
Browse files Browse the repository at this point in the history
…fixed
  • Loading branch information
BC-tymurbiedukhin committed Apr 21, 2021
1 parent 2e7effa commit 1a8df33
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 6 additions & 2 deletions assets/scss/components/stencil/applePay/_applePay.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,16 @@
display: block;
float: right;
}

& .previewCartCheckout {
.apple-pay-checkout-button {
display: inline-block;
}
}
}

.previewCartCheckout {
.apple-pay-checkout-button {
display: inline-block;
float: none;
margin-top: spacing("half");
}
}
5 changes: 4 additions & 1 deletion assets/scss/components/stencil/previewCart/_previewCart.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,13 @@
width: 100%;

// scss-lint:disable NestingDepth
+ .button,
+ p {
margin-top: spacing("half");
}

&:not(:last-child) {
margin-bottom: spacing("half");
}
}
}

Expand Down

0 comments on commit 1a8df33

Please sign in to comment.