Skip to content

Commit bbd33c5

Browse files
committed
#1314 Changed the sidebar
1 parent 8ca4e0b commit bbd33c5

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

src/frontend/src/layouts/Sidebar/Sidebar.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,14 @@ const Sidebar: React.FC<SideBarProps> = ({ open, handleDrawerClose }) => {
7171
<IconButton onClick={handleDrawerClose}>{theme.direction === 'rtl' ? <ChevronRight /> : <ChevronLeft />}</IconButton>
7272
</DrawerHeader>
7373
<Divider />
74-
<Box overflow={'auto'} sx={{ overflowX: 'hidden' }}>
74+
<Box
75+
overflow={'auto'}
76+
sx={{ overflowX: 'hidden' }}
77+
display="flex"
78+
flexDirection={'column'}
79+
flex={1}
80+
justifyContent={'space-between'}
81+
>
7582
{linkItems.map((linkItem) => (
7683
<NavPageLink {...linkItem} open={open} />
7784
))}

src/frontend/src/stylesheets/layouts/sidebar/sidebar.module.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
position: relative;
1818
text-align: center;
1919
color: #ffffff;
20-
bottom: 0;
2120
width: 100%;
22-
height: 6em;
23-
padding-top: 4em;
21+
padding-bottom: 3em;
2422
}

0 commit comments

Comments
 (0)