Skip to content

The open alternative to Salesforce, designed for AI.

Record horizontal scrolling mobile (#5843)

RobertoSimonini1dd2db083ce4d
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 1514ec9f313..cb2d67b7aaa 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
@@ -34,8 +34,7 @@ const StyledLabelAndIconContainer = styled.div`
const StyledValueContainer = styled.div`
display: flex;
- flex-grow: 1;
- min-width: 0;
+ width: 100%;
`;
const StyledLabelContainer = styled.div<{ width?: number }>`
diff --git a/packages/twenty-front/src/modules/ui/layout/page/ShowPageContainer.tsx b/packages/twenty-front/src/modules/ui/layout/page/ShowPageContainer.tsx
index 2014dc960f8..ab9f308c5cd 100644
--- a/packages/twenty-front/src/modules/ui/layout/page/ShowPageContainer.tsx
+++ b/packages/twenty-front/src/modules/ui/layout/page/ShowPageContainer.tsx
@@ -8,8 +8,7 @@ const StyledOuterContainer = styled.div`
display: flex;
gap: ${({ theme }) => (useIsMobile() ? theme.spacing(3) : '0')};
- height: ${() => (useIsMobile() ? '100%' : '100%')};
- overflow-x: ${() => (useIsMobile() ? 'hidden' : 'auto')};
+ height: 100%;
width: 100%;
`;
diff --git a/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageRightContainer.tsx b/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageRightContainer.tsx
index be7c067f3ae..17de69c8f82 100644
--- a/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageRightContainer.tsx
+++ b/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageRightContainer.tsx
@@ -28,8 +28,7 @@ const StyledShowPageRightContainer = styled.div<{ isMobile: boolean }>`
flex: 1 0 0;
flex-direction: column;
justify-content: start;
- overflow: ${(isMobile) => (isMobile ? 'none' : 'hidden')};
- width: calc(100% + 4px);
+ width: 100%;
`;
const StyledTabListContainer = styled.div`