mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 12:31:54 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user