File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed
Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -11,19 +11,19 @@ export function AnimatedLayout({
1111 sidebar,
1212 isCollapsed,
1313} : AnimatedLayoutProps ) {
14- return (
15- < div className = "flex w-full overflow-hidden" >
16- < div
17- className = { cn (
18- "flex-shrink-0 border-r bg-background duration-300 ease-in-out hidden md:block" ,
19- isCollapsed ? "w-[80px]" : "w-[240px]" ,
20- ) }
21- >
22- { sidebar }
23- </ div >
24- < div className = "flex-1 overflow-auto bg-backgroundSoft" >
25- { children }
26- </ div >
27- </ div >
28- ) ;
14+ return (
15+ < div className = "flex w-full h-screen overflow-hidden" >
16+ < div
17+ className = { cn (
18+ "flex-shrink-0 h-full overflow-y-auto border-r bg-background duration-300 ease-in-out hidden md:block" ,
19+ isCollapsed ? "w-[80px]" : "w-[240px]" ,
20+ ) }
21+ >
22+ { sidebar }
23+ </ div >
24+ < div className = "flex-1 overflow-y -auto bg-backgroundSoft" >
25+ { children }
26+ </ div >
27+ </ div >
28+ ) ;
2929}
You can’t perform that action at this time.
0 commit comments