Skip to content

Commit

Permalink
fix: amazon's sorter position
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed3on committed Sep 1, 2024
1 parent ddf6c23 commit 451747c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shops/amazon/amazon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const amazonShop: Shop = {
createCustomSortSelect(
onSort: (metric: keyof Metrics | keyof NutrientInfo, ascending: boolean) => void
): React.ReactElement {
return createCustomSortSelectElement(onSort, 'mt-4', this.getCurrency(window.location.href));
return createCustomSortSelectElement(onSort, 'mb-4', this.getCurrency(window.location.href));
},

selectors: {
Expand All @@ -114,6 +114,6 @@ export const amazonShop: Shop = {
productList: '.s-result-list.s-search-results',
productCard: '[data-asin]:not([data-asin=""])[data-index]',
adElement: '.AdHolder',
sortSelect: '.a-dropdown-container',
sortSelect: 'label[for="s-result-sort-select"]',
},
};

0 comments on commit 451747c

Please sign in to comment.