From f9e6fba552fa44cbee63d122781743c91a2c8cef Mon Sep 17 00:00:00 2001 From: Jordan Knott Date: Tue, 5 Jan 2021 19:06:49 -0600 Subject: [PATCH] fix(Projects): set overflow-y to auto on Wrapper --- frontend/src/App/ProjectFinder.tsx | 2 +- frontend/src/Projects/index.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/App/ProjectFinder.tsx b/frontend/src/App/ProjectFinder.tsx index b69b5d7..7a02919 100644 --- a/frontend/src/App/ProjectFinder.tsx +++ b/frontend/src/App/ProjectFinder.tsx @@ -159,7 +159,7 @@ const Minify = styled.div` `; const ProjectFinder = () => { - const { loading, data } = useGetProjectsQuery({ fetchPolicy: 'cache-and-network' }); + const { data } = useGetProjectsQuery({ fetchPolicy: 'cache-and-network' }); const [search, setSearch] = useState(''); const [minified, setMinified] = useStickyState>([], 'project_finder_minified'); const { hidePopup } = usePopup(); diff --git a/frontend/src/Projects/index.tsx b/frontend/src/Projects/index.tsx index 1ee15ae..649d917 100644 --- a/frontend/src/Projects/index.tsx +++ b/frontend/src/Projects/index.tsx @@ -150,6 +150,7 @@ const Wrapper = styled.div` flex-direction: row; align-items: flex-start; justify-content: center; + overflow-y: auto; `; const ProjectSectionTitleWrapper = styled.div`