3185 / Fix NavigationDrawer Overflow (#3187)

* fix side nav for short viewports

* remove uneeded justify-content in leu of overflow-y addition

* undo last commit to leave justify-content in for submenus

* move overflow-y to StyledContainer

* move overflow-y to items container

* remove problematic overflow to allow scrollable nav sections
This commit is contained in:
Jordan Sussman
2024-01-05 02:25:28 -08:00
committed by GitHub
parent dc76333b81
commit f3cbed8fec
2 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,6 @@ import { Avatar } from '@/users/components/Avatar';
import { useFavorites } from '../hooks/useFavorites';
const StyledContainer = styled(NavigationDrawerSection)`
overflow-x: auto;
width: 100%;
`;

View File

@ -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 = ({