Skip to content

Commit

Permalink
overflow scroll on nav
Browse files Browse the repository at this point in the history
  • Loading branch information
cdt-eth committed Jun 29, 2022
1 parent 658483b commit dbeba22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function classNames(...classes) {

const Nav = ({ setSidebarOpen }) => {
return (
<div className="flex flex-col flex-grow py-5 pb-4 bg-grey-base">
<div className="flex flex-col flex-grow py-5 pb-4 bg-grey-base overflow-y-scroll">
<Link passHref href="/">
<div
className="sm:cursor-pointer items-center flex-shrink-0 px-4"
Expand All @@ -29,7 +29,7 @@ const Nav = ({ setSidebarOpen }) => {
className="flex-1 px-4 space-y-1 bg-grey-base flex-col justify-between flex"
aria-label="Sidebar"
>
<div className="">
<div>
{/* No SubNav */}
<Link passHref href="/">
<img
Expand Down

1 comment on commit dbeba22

@vercel
Copy link

@vercel vercel bot commented on dbeba22 Jun 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.