Skip to content

The open alternative to Salesforce, designed for AI.

fix: Title overflows in mobile viewport for right drawer (#7311)

Harshit Singh95e1053b7aeb
diff --git a/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSummaryCard.tsx b/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSummaryCard.tsx
index 137bad6002c..94c3d934cb1 100644
--- a/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSummaryCard.tsx
+++ b/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSummaryCard.tsx
@@ -60,7 +60,7 @@ const StyledTitle = styled.div<{ isMobile: boolean }>`
font-size: ${({ theme }) => theme.font.size.xl};
font-weight: ${({ theme }) => theme.font.weight.semiBold};
justify-content: ${({ isMobile }) => (isMobile ? 'flex-start' : 'center')};
- width: ${({ isMobile }) => (isMobile ? '' : '100%')};
+ max-width: 90%;
`;
const StyledAvatarWrapper = styled.div`