Skip to content

Commit

Permalink
Fix filter layout on mid resolutions (decentraland#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiagoJimenezQ authored Nov 22, 2021
1 parent 01efc3c commit 1656881
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions webapp/src/components/Vendor/NFTFilters/FiltersMenu/FiltersMenu.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useMemo } from 'react'
import { Network, NFTCategory, Rarity } from '@dcl/schemas'
import { t } from 'decentraland-dapps/dist/modules/translation/utils'
import { Row } from 'decentraland-ui'
import { Row, Column } from 'decentraland-ui'
import { WearableGender } from '../../../../modules/nft/wearable/types'
import { contracts } from '../../../../modules/contract/utils'
import { ArrayFilter } from '../ArrayFilter'
Expand Down Expand Up @@ -90,18 +90,22 @@ const FiltersMenu = (props: Props) => {
/>
</Row>
<Row>
<ArrayFilter
name={t('nft_filters.rarity')}
values={selectedRarities}
options={rarityOptions}
onChange={onRaritiesChange}
/>
<ArrayFilter
name={t('nft_filters.gender')}
values={selectedGenders}
options={genderOptions}
onChange={onGendersChange}
/>
<Column>
<ArrayFilter
name={t('nft_filters.rarity')}
values={selectedRarities}
options={rarityOptions}
onChange={onRaritiesChange}
/>
</Column>
<Column>
<ArrayFilter
name={t('nft_filters.gender')}
values={selectedGenders}
options={genderOptions}
onChange={onGendersChange}
/>
</Column>
</Row>
</>
)
Expand Down

0 comments on commit 1656881

Please sign in to comment.