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,16 +33,16 @@ export default function FilterBar({
/>
</div>
<div className="flex items-center gap-2">
<ArrowUpDown className="h-5 w-5 text-slate-400 hidden sm:block" />
<Select
value={ordering}
onChange={setOrdering}
options={orderingOptions}
className="w-full sm:w-max"
buttonClassName="whitespace-nowrap min-w-[150px]"
/>
</div>
<div className="flex w-full items-center gap-2 sm:w-auto">
<ArrowUpDown className="h-5 w-5 text-slate-400 hidden sm:block" />
<Select
value={ordering}
onChange={setOrdering}
options={orderingOptions}
className="w-full sm:w-max"
buttonClassName="w-full whitespace-nowrap sm:min-w-[150px]"
/>
</div>
</div>
);
}