Skip to content

Commit

Permalink
Merge pull request #106 from ManishxNinja/fix/double-scrollbar
Browse files Browse the repository at this point in the history
fixed the double scroll-bar issue
  • Loading branch information
Pranav0-0Aggarwal authored Dec 16, 2024
2 parents dc7b177 + a44b6a5 commit 6f71d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/layout/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Sidebar from '@/components/Navigation/Sidebar/Sidebar';

const Layout: React.FC<{ children: React.ReactNode }> = ({ children }) => {
return (
<div className="flex w-full flex-col">
<div className="flex w-full flex-col max-h-[100vh] overflow-hidden">
<Navbar />
<div className="sidebar flex" style={{ height: 'calc(100vh - 64px)' }}>
<Sidebar />
Expand Down

0 comments on commit 6f71d77

Please sign in to comment.