Skip to content

Commit 8e8a814

Browse files
committed
feat: show filter buttons on mobile for landing page search
See: FE-134
1 parent e6140f7 commit 8e8a814

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

frontend/layers/base/app/components/BaseChipGroup.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const handleSelectFilter = (value: ChipItem['value']) => {
6161

6262
<template>
6363
<ul
64-
class="flex gap-md px-2xl py-lg"
64+
class="flex flex-wrap gap-md px-2xl py-lg"
6565
role="group"
6666
:aria-label
6767
>

frontend/layers/products/app/components/BlockchainSearchInput.vue

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,13 @@ const handleTypeFilterChange = () => {
7777
@search="handleSearch"
7878
>
7979
<template #dropdown-fixed-header>
80-
<div class="hidden sm:block">
81-
<BaseChipGroup
82-
v-model="searchParams.types"
83-
:items="chips"
84-
:aria-label="$t('products.landing_page.search.filter_aria_label')"
85-
@update:model-value="handleTypeFilterChange"
86-
/>
87-
<hr class="mx-2xl text-gray-600">
88-
</div>
80+
<BaseChipGroup
81+
v-model="searchParams.types"
82+
:items="chips"
83+
:aria-label="$t('products.landing_page.search.filter_aria_label')"
84+
@update:model-value="handleTypeFilterChange"
85+
/>
86+
<hr class="mx-2xl text-gray-600">
8987
</template>
9088

9189
<template #result-group-label="{ label }">

0 commit comments

Comments
 (0)