Moved the header & content into one div
This commit is contained in:
parent
3afdb19f87
commit
c9422afc79
@ -11,8 +11,11 @@ export const Sidebar = ({open, setOpen}) => {
|
||||
<>
|
||||
{open && <div className="background-overlay" ref={ref} onClick={() => setOpen(false)}/>}
|
||||
<aside className={open ? "" : "sidebar-hidden"} ref={ref}>
|
||||
<div>
|
||||
<SidebarHeader setOpen={setOpen}/>
|
||||
<SidebarContent/>
|
||||
</div>
|
||||
|
||||
<SidebarFooter/>
|
||||
</aside>
|
||||
</>
|
||||
|
Reference in New Issue
Block a user