Browse Source

fix sidebar height

master
jeffvli 3 years ago
parent
commit
7bdb391b9a
  1. 15
      src/components/layout/Sidebar.tsx

15
src/components/layout/Sidebar.tsx

@ -9,14 +9,21 @@ const Sidebar = ({
handleSidebarSelect, handleSidebarSelect,
}: any) => { }: any) => {
return ( return (
<FixedSidebar id="sidebar" width={expand ? 193 : 56} collapsible> <FixedSidebar
<Sidenav id="sidebar"
expanded={expand}
appearance="default"
style={{ style={{
height: 'calc(100% - 122px)', height: 'calc(100% - 122px)',
}}
width={expand ? 193 : 56}
collapsible
>
<Sidenav
style={{
height: '100%',
borderRight: '1px solid #48545c', borderRight: '1px solid #48545c',
}} }}
expanded={expand}
appearance="default"
> >
<Sidenav.Header /> <Sidenav.Header />
<Sidenav.Body> <Sidenav.Body>

Loading…
Cancel
Save