Skip to content

The open alternative to Salesforce, designed for AI.

Fix duplicate height properties in styled components (#15200)

Copilotb4bf0be089d3
diff --git a/packages/twenty-front/src/modules/object-record/record-show/components/PageLayoutRecordPageRenderer.tsx b/packages/twenty-front/src/modules/object-record/record-show/components/PageLayoutRecordPageRenderer.tsx
index 4c835d3fa69..bdf62929e35 100644
--- a/packages/twenty-front/src/modules/object-record/record-show/components/PageLayoutRecordPageRenderer.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-show/components/PageLayoutRecordPageRenderer.tsx
@@ -25,7 +25,6 @@ const StyledShowPageRightContainer = styled.div`
height: 100%;
justify-content: start;
width: 100%;
- height: 100%;
overflow: auto;
`;
diff --git a/packages/twenty-front/src/modules/page-layout/components/PageLayoutRendererContent.tsx b/packages/twenty-front/src/modules/page-layout/components/PageLayoutRendererContent.tsx
index d081d833ade..0773d3931c3 100644
--- a/packages/twenty-front/src/modules/page-layout/components/PageLayoutRendererContent.tsx
+++ b/packages/twenty-front/src/modules/page-layout/components/PageLayoutRendererContent.tsx
@@ -30,7 +30,6 @@ const StyledShowPageRightContainer = styled.div`
height: 100%;
justify-content: start;
width: 100%;
- height: 100%;
overflow: auto;
`;
diff --git a/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSubContainer.tsx b/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSubContainer.tsx
index 1f52b5e3ca9..2f5b5108915 100644
--- a/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSubContainer.tsx
+++ b/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSubContainer.tsx
@@ -27,7 +27,6 @@ const StyledShowPageRightContainer = styled.div`
height: 100%;
justify-content: start;
width: 100%;
- height: 100%;
overflow: auto;
`;
diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemHotKeys.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemHotKeys.tsx
index 7922315b183..a3ba70e5393 100644
--- a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemHotKeys.tsx
+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemHotKeys.tsx
@@ -23,8 +23,6 @@ const StyledCommandKey = styled.div`
box-shadow: ${({ theme }) => theme.boxShadow.underline};
display: flex;
flex-direction: column;
-
- height: ${({ theme }) => theme.spacing(5)};
height: 18px;
justify-content: center;
text-align: center;