From ac9d1ba859341b3aa92ec1eed3f270e56efe3dcc Mon Sep 17 00:00:00 2001 From: Rishistav Date: Mon, 9 Dec 2024 16:31:36 -0500 Subject: [PATCH] Fix Sidebar height to occupy viewport height --- Client/src/Components/Sidebar/index.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Client/src/Components/Sidebar/index.jsx b/Client/src/Components/Sidebar/index.jsx index 4c274409b..6751ba10b 100644 --- a/Client/src/Components/Sidebar/index.jsx +++ b/Client/src/Components/Sidebar/index.jsx @@ -262,7 +262,10 @@ function Sidebar() { Menu } - sx={{ px: theme.spacing(6) }} + sx={{ px: theme.spacing(6), + height: "100%", + overflow: "hidden" + }} > {menu.map((item) => item.path ? (