diff --git a/superset-frontend/src/components/TimezoneSelector/index.tsx b/superset-frontend/src/components/TimezoneSelector/index.tsx index 119cb50fbce3..b33981e72100 100644 --- a/superset-frontend/src/components/TimezoneSelector/index.tsx +++ b/superset-frontend/src/components/TimezoneSelector/index.tsx @@ -104,11 +104,13 @@ const matchTimezoneToOptions = (timezone: string) => export type TimezoneSelectorProps = { onTimezoneChange: (value: string) => void; timezone?: string | null; + minWidth?: string; }; export default function TimezoneSelector({ onTimezoneChange, timezone, + minWidth = MIN_SELECT_WIDTH, // smallest size for current values }: TimezoneSelectorProps) { const validTimezone = useMemo( () => matchTimezoneToOptions(timezone || moment.tz.guess()), @@ -125,7 +127,7 @@ export default function TimezoneSelector({ return (