fix(filters): expand ordering select on mobile

This commit is contained in:
2026-04-27 17:14:00 +03:30
parent 8cbb818a6e
commit 803c3ce629

View File

@@ -33,14 +33,14 @@ 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>