diff --git a/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/text/SettingsDataModelFieldTextForm.tsx b/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/text/SettingsDataModelFieldTextForm.tsx index 2c10f1f1f2..4d67880825 100644 --- a/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/text/SettingsDataModelFieldTextForm.tsx +++ b/packages/twenty-front/src/modules/settings/data-model/fields/forms/components/text/SettingsDataModelFieldTextForm.tsx @@ -1,18 +1,10 @@ import { Controller, useFormContext } from 'react-hook-form'; import { FieldMetadataItem } from '@/object-metadata/types/FieldMetadataItem'; -import { Select } from '@/ui/input/components/Select'; -import styled from '@emotion/styled'; -import { CardContent } from 'twenty-ui'; +import { SettingsOptionCardContentSelect } from '@/settings/components/SettingsOptions/SettingsOptionCardContentSelect'; +import { IconTextWrap } from 'twenty-ui'; import { z } from 'zod'; -const StyledFormCardTitle = styled.div` - color: ${({ theme }) => theme.font.color.light}; - font-size: ${({ theme }) => theme.font.size.xs}; - font-weight: ${({ theme }) => theme.font.weight.semiBold}; - margin-bottom: ${({ theme }) => theme.spacing(1)}; -`; - type SettingsDataModelFieldTextFormProps = { disabled?: boolean; fieldMetadataItem: Pick< @@ -39,53 +31,51 @@ export const SettingsDataModelFieldTextForm = ({ }: SettingsDataModelFieldTextFormProps) => { const { control } = useFormContext(); return ( - - { - const displayedMaxRows = value?.displayedMaxRows ?? 0; + { + const displayedMaxRows = value?.displayedMaxRows ?? 0; - return ( - <> - Wrap on record pages -