Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix conditional display of Apple Pay in Preview Cart #2036

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- fixed email address validation in forms. [#2029](https://github.com/bigcommerce/cornerstone/pull/2029)
- Fixed unnecessary horizontal scroll on swatch options on PDP. [#2023](https://github.com/bigcommerce/cornerstone/pull/2023)
- Always showing product counts for Category facet in the faceted search results page. [#2035](https://github.com/bigcommerce/cornerstone/pull/2035)
- Fix conditional display of Apple Pay button in preview cart. [#2036](https://github.com/bigcommerce/cornerstone/pull/2036)

## 5.3.0 (03-25-2021)
- Remove AddThis for social sharing, replace with provider sharing links. [#1997](https://github.com/bigcommerce/cornerstone/pull/1997)
Expand Down
8 changes: 7 additions & 1 deletion assets/scss/components/stencil/applePay/_applePay.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,14 @@

.previewCartCheckout {
.apple-pay-checkout-button {
display: inline-block;
float: none;
margin-top: spacing("half");
}
}

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