Skip to content

The open alternative to Salesforce, designed for AI.

[FIX]: Overflow issue in delete record popup (#10417)

Sharathxctcb3b0633b589
diff --git a/packages/twenty-ui/src/navigation/menu-item/internals/components/MenuItemLeftContent.tsx b/packages/twenty-ui/src/navigation/menu-item/internals/components/MenuItemLeftContent.tsx
index a305e6f51c4..3856ff74904 100644
--- a/packages/twenty-ui/src/navigation/menu-item/internals/components/MenuItemLeftContent.tsx
+++ b/packages/twenty-ui/src/navigation/menu-item/internals/components/MenuItemLeftContent.tsx
@@ -16,22 +16,21 @@ import {
const StyledMainText = styled.div`
flex-shrink: 0;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ max-width: 100%;
`;
const StyledContextualText = styled.div`
color: ${({ theme }) => theme.font.color.light};
font-family: inherit;
-
font-size: inherit;
font-weight: inherit;
max-width: 100%;
overflow: hidden;
-
- text-decoration: inherit;
text-overflow: ellipsis;
-
white-space: nowrap;
-
padding-left: ${({ theme }) => theme.spacing(1)};
flex-shrink: 1;
`;