Skip to content

Commit

Permalink
Merge pull request #81 from the-collab-lab/ce-fixScroll
Browse files Browse the repository at this point in the history
fix scroll horizontal
  • Loading branch information
ocsiddisco authored Jun 5, 2024
2 parents 1a4c9c2 + 7e0306c commit 186763d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/NavBar/NavBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function NavBar({ user, lists, listPath }) {
<div
className={
isNavOpen
? 'z-20 h-screen w-screen block absolute text-darkPurple bg-offWhite left-0 top-0'
? 'z-20 h-screen w-full block fixed z-10 text-darkPurple bg-offWhite left-0 top-0'
: 'hidden'
}
>
Expand Down
2 changes: 1 addition & 1 deletion src/views/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function Layout({ lists, listPath, user, isLoadingUser }) {
};

return (
<div className="w-screen flex flex-col text-poppins min-w-96 bg-puurWhite">
<div className="w-full flex flex-col text-poppins min-w-96 bg-puurWhite">
<NavBar user={user} lists={lists} listPath={listPath} />
<main className="min-h-screen w-full lg:pt-16 xl:w-9/12 xl:mx-auto">
{isLoadingUser ? (
Expand Down

0 comments on commit 186763d

Please sign in to comment.