fix(filters): expand ordering select on mobile
This commit is contained in:
@@ -33,16 +33,16 @@ export default function FilterBar({
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex w-full items-center gap-2 sm:w-auto">
|
||||||
<ArrowUpDown className="h-5 w-5 text-slate-400 hidden sm:block" />
|
<ArrowUpDown className="h-5 w-5 text-slate-400 hidden sm:block" />
|
||||||
<Select
|
<Select
|
||||||
value={ordering}
|
value={ordering}
|
||||||
onChange={setOrdering}
|
onChange={setOrdering}
|
||||||
options={orderingOptions}
|
options={orderingOptions}
|
||||||
className="w-full sm:w-max"
|
className="w-full sm:w-max"
|
||||||
buttonClassName="whitespace-nowrap min-w-[150px]"
|
buttonClassName="w-full whitespace-nowrap sm:min-w-[150px]"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user