Skip to content

Commit

Permalink
Merge pull request #52 from J4Web/scroll-fix
Browse files Browse the repository at this point in the history
scroll-fix
  • Loading branch information
mujibsayyad authored Oct 23, 2023
2 parents a927011 + 9e2e50d commit 6d4bad7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function App() {
// console.log(isLoggedIn);

return (
<div className='flex flex-col h-screen w-full justify-between'>
<div className='flex flex-col min-h-screen justify-between'>
<Navbar />
<Routes>
<Route path='oauth' element={<LoginCallback />} />
Expand Down Expand Up @@ -78,7 +78,7 @@ function App() {
<Route path='/f' element={<Error500 />} />
<Route path='*' element={<Error404 />} />
</Routes>
{!loading && pathname !== '/' && pathname!=='/all-posts' && <FooterPage />}
{!loading && pathname !== '/' && pathname !=='/all-posts' && <FooterPage />}
</div>
);
}
Expand Down

0 comments on commit 6d4bad7

Please sign in to comment.