Skip to content

The open alternative to Salesforce, designed for AI.

3185 / Fix NavigationDrawer Overflow (#3187)

Jordan Sussmanf3cbed8fec49
diff --git a/packages/twenty-front/src/modules/favorites/components/Favorites.tsx b/packages/twenty-front/src/modules/favorites/components/Favorites.tsx
index 0feeb57852d..c0dc98a04f5 100644
--- a/packages/twenty-front/src/modules/favorites/components/Favorites.tsx
+++ b/packages/twenty-front/src/modules/favorites/components/Favorites.tsx
@@ -10,7 +10,6 @@ import { Avatar } from '@/users/components/Avatar';
import { useFavorites } from '../hooks/useFavorites';
const StyledContainer = styled(NavigationDrawerSection)`
- overflow-x: auto;
width: 100%;
`;
diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawer.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawer.tsx
index 8fc0412b9d0..9eda443f5e2 100644
--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawer.tsx
+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawer.tsx
@@ -54,6 +54,7 @@ const StyledItemsContainer = styled.div`
flex-direction: column;
gap: ${({ theme }) => theme.spacing(8)};
margin-bottom: auto;
+ overflow-y: auto;
`;
export const NavigationDrawer = ({