Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
herzog31 committed Feb 23, 2024
1 parent eded8fb commit 11dcbea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions blocks/product-list-page/product-list-page.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* stylelint-disable selector-class-pattern */
.product-list-page .ds-sdk-product-item__image img {
aspect-ratio: 185 / 230;
object-fit: contain;
}
2 changes: 1 addition & 1 deletion blocks/product-list-page/product-list-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default async function decorate(block) {

const storeDetails = {
environmentId: await getConfigValue('commerce-environment-id'),
environmentType: (await getConfigValue('commerce-environment-id')).includes('sandbox') ? 'testing' : '',
environmentType: (await getConfigValue('commerce-endpoint')).includes('sandbox') ? 'testing' : '',
apiKey: await getConfigValue('commerce-x-api-key'),
websiteCode: await getConfigValue('commerce-website-code'),
storeCode: await getConfigValue('commerce-store-code'),
Expand Down

0 comments on commit 11dcbea

Please sign in to comment.