diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormNumberFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormNumberFieldInput.tsx index 0cc37da78c..979732eafd 100644 --- a/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormNumberFieldInput.tsx +++ b/packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components/FormNumberFieldInput.tsx @@ -1,4 +1,3 @@ -import { t } from '@lingui/core/macro'; import { FormFieldInputContainer } from '@/object-record/record-field/ui/form-types/components/FormFieldInputContainer'; import { FormFieldInputInnerContainer } from '@/object-record/record-field/ui/form-types/components/FormFieldInputInnerContainer'; import { FormFieldInputRowContainer } from '@/object-record/record-field/ui/form-types/components/FormFieldInputRowContainer'; @@ -8,26 +7,15 @@ import { TextInput } from '@/ui/field/input/components/TextInput'; import { InputHint } from '@/ui/input/components/InputHint'; import { InputLabel } from '@/ui/input/components/InputLabel'; import { isStandaloneVariableString } from '@/workflow/utils/isStandaloneVariableString'; +import { t } from '@lingui/core/macro'; import isEmpty from 'lodash.isempty'; import { useId, useState } from 'react'; import { isDefined } from 'twenty-shared/utils'; -import { themeCssVariables } from 'twenty-ui/theme-constants'; import { canBeCastAsNumberOrNull, castAsNumberOrNull, } from '~/utils/cast-as-number-or-null'; -import { styled } from '@linaria/react'; - -const StyledInputWrapper = styled.div` - align-items: center; - display: flex; - - & input { - padding: ${themeCssVariables.spacing[1]} ${themeCssVariables.spacing[2]}; - } -`; - type FormNumberFieldInputProps = { label?: string; defaultValue: number | string | undefined; @@ -120,20 +108,18 @@ export const FormNumberFieldInput = ({ onBlur={onBlur} > {draftValue.type === 'static' ? ( - - - + ) : ( {draftValue.type === 'static' ? ( - - - + ) : ( * { border-radius: ${themeCssVariables.border.radius.md};