diff --git a/apps/builder/src/components/inputs/TextInput.tsx b/apps/builder/src/components/inputs/TextInput.tsx index e88d9d7af8..b27a6d27db 100644 --- a/apps/builder/src/components/inputs/TextInput.tsx +++ b/apps/builder/src/components/inputs/TextInput.tsx @@ -45,6 +45,7 @@ export type TextInputProps = { | 'autoFocus' | 'size' | 'maxWidth' + | 'flexShrink' > export const TextInput = forwardRef(function TextInput( @@ -68,6 +69,7 @@ export const TextInput = forwardRef(function TextInput( maxWidth, direction = 'column', width, + flexShrink, }: TextInputProps, ref ) { @@ -145,6 +147,7 @@ export const TextInput = forwardRef(function TextInput( justifyContent="space-between" width={label || width === 'full' ? 'full' : 'auto'} spacing={direction === 'column' ? 2 : 3} + flexShrink={flexShrink} > {label && ( diff --git a/apps/builder/src/features/billing/components/PreCheckoutModal.tsx b/apps/builder/src/features/billing/components/PreCheckoutModal.tsx index 3a032212c5..33cc0e4448 100644 --- a/apps/builder/src/features/billing/components/PreCheckoutModal.tsx +++ b/apps/builder/src/features/billing/components/PreCheckoutModal.tsx @@ -161,6 +161,7 @@ export const PreCheckoutModal = ({ withVariableButton={false} debounceTimeout={0} placeholder={vatValuePlaceholder} + flexShrink={0} />