mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 11:11:14 -05:00
Reverted to commit 5c391a3087
This commit is contained in:
@@ -26,12 +26,12 @@ export function ParkSortOptions({ sort, onSortChange }: ParkSortOptionsProps) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex gap-2 w-full">
|
<div className="flex gap-2">
|
||||||
<Select
|
<Select
|
||||||
value={sort.field}
|
value={sort.field}
|
||||||
onValueChange={(field) => onSortChange({ ...sort, field })}
|
onValueChange={(field) => onSortChange({ ...sort, field })}
|
||||||
>
|
>
|
||||||
<SelectTrigger className="flex-1 sm:w-48 bg-muted/50 border-border/50">
|
<SelectTrigger className="w-48 bg-muted/50 border-border/50">
|
||||||
<ArrowUpDown className="w-4 h-4 mr-2" />
|
<ArrowUpDown className="w-4 h-4 mr-2" />
|
||||||
<SelectValue />
|
<SelectValue />
|
||||||
</SelectTrigger>
|
</SelectTrigger>
|
||||||
|
|||||||
@@ -395,13 +395,11 @@ export default function Parks() {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex flex-col sm:flex-row gap-1.5 sm:gap-2 w-full">
|
<div className="flex flex-wrap gap-1.5 sm:gap-2">
|
||||||
<div className="flex-1 sm:flex-none">
|
|
||||||
<ParkSortOptions
|
<ParkSortOptions
|
||||||
sort={sort}
|
sort={sort}
|
||||||
onSortChange={setSort}
|
onSortChange={setSort}
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
variant={showFilters ? "default" : "outline"}
|
variant={showFilters ? "default" : "outline"}
|
||||||
|
|||||||
Reference in New Issue
Block a user