fix: adjust map region filter layout to fit content width

- Changed SelectTrigger from w-full to min-w-[200px]
- Filter now only takes space it needs instead of stretching full width
- Updated import path for Select component
This commit is contained in:
Alan Buscaglia
2025-10-22 15:28:08 +02:00
parent 124d2db9f1
commit 219d3ea9c2
+2 -2
View File
@@ -6,7 +6,7 @@ import {
SelectItem,
SelectTrigger,
SelectValue,
} from "@/components/ui/select";
} from "../ui/select/Select";
interface MapRegionFilterProps {
regions: string[];
@@ -28,7 +28,7 @@ export function MapRegionFilter({
return (
<Select value={selectedRegion} onValueChange={onRegionChange}>
<SelectTrigger
className="w-full rounded-lg"
className="min-w-[200px] rounded-lg"
style={{
borderColor: chartColors.tooltipBorder,
backgroundColor: chartColors.tooltipBackground,