Skip to content

Commit

Permalink
fixed the double scroll-bar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ManishxNinja committed Dec 13, 2024
1 parent 45ebc8e commit a44b6a5
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 a44b6a5

Please sign in to comment.