Skip to content

The open alternative to Salesforce, designed for AI.

Fix inline field height #11442 (#11553)

Murali Singh9da2a74d9e41
diff --git a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx
index a073cdfbcd3..b40a42c857b 100644
--- a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellContainer.tsx
@@ -58,6 +58,7 @@ const StyledInlineCellBaseContainer = styled.div`
width: 100%;
display: flex;
height: fit-content;
+ min-height: 24px;
gap: ${({ theme }) => theme.spacing(1)};
user-select: none;
align-items: center;
diff --git a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellDisplayMode.tsx b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellDisplayMode.tsx
index 85c21af79cb..4dcc59c0b7c 100644
--- a/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellDisplayMode.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-inline-cell/components/RecordInlineCellDisplayMode.tsx
@@ -44,8 +44,6 @@ const StyledRecordInlineCellNormalModeInnerContainer = styled.div`
align-items: center;
color: ${({ theme }) => theme.font.color.primary};
height: fit-content;
- padding-top: 3px;
- padding-bottom: 3px;
overflow: hidden;
text-overflow: ellipsis;