Skip to content

Commit

Permalink
Fix Sidebar height to occupy viewport height
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishistav committed Dec 9, 2024
1 parent 97b565a commit ac9d1ba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Client/src/Components/Sidebar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,10 @@ function Sidebar() {
Menu
</ListSubheader>
}
sx={{ px: theme.spacing(6) }}
sx={{ px: theme.spacing(6),
height: "100%",
overflow: "hidden"
}}
>
{menu.map((item) =>
item.path ? (
Expand Down

0 comments on commit ac9d1ba

Please sign in to comment.