From 70cc1f0ce3dd361550d37083509e1b8b0a4642b0 Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Fri, 15 Mar 2024 11:57:12 +0100 Subject: [PATCH] :children_crossing: Fix select and autocomplete max width Closes #1310 --- apps/builder/src/components/inputs/AutocompleteInput.tsx | 3 ++- apps/builder/src/components/inputs/Select.tsx | 4 +--- apps/builder/src/components/inputs/VariableSearchInput.tsx | 3 ++- .../customDomains/components/CustomDomainsDropdown.tsx | 2 +- .../src/features/workspace/components/AddMemberForm.tsx | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/builder/src/components/inputs/AutocompleteInput.tsx b/apps/builder/src/components/inputs/AutocompleteInput.tsx index 02958731c9..7af38e9175 100644 --- a/apps/builder/src/components/inputs/AutocompleteInput.tsx +++ b/apps/builder/src/components/inputs/AutocompleteInput.tsx @@ -160,9 +160,9 @@ export const AutocompleteInput = ({ = { - isPopoverMatchingInputWidth?: boolean selectedItem?: string items: readonly T[] | undefined placeholder?: string @@ -41,7 +40,6 @@ type Props = { } export const Select = ({ - isPopoverMatchingInputWidth = true, selectedItem, placeholder, items, @@ -150,7 +148,6 @@ export const Select = ({ ({ + {workspace?.id && ( void }) => { return ( - +