diff --git a/Client/src/Components/Sidebar/index.css b/Client/src/Components/Sidebar/index.css index 4fde86bff..50b261817 100644 --- a/Client/src/Components/Sidebar/index.css +++ b/Client/src/Components/Sidebar/index.css @@ -40,12 +40,12 @@ aside .selected-path > * { aside .selected-path span.MuiTypography-root { font-weight: 600; } -aside .MuiStack-root:last-child { - margin-top: auto; -} aside .MuiCollapse-wrapperInner .MuiList-root > .MuiListItemButton-root { position: relative; } +aside .MuiDivider-root { + border-color: var(--env-var-color-6); +} aside .MuiCollapse-wrapperInner .MuiList-root diff --git a/Client/src/Components/Sidebar/index.jsx b/Client/src/Components/Sidebar/index.jsx index 69fa29a58..70094a0c4 100644 --- a/Client/src/Components/Sidebar/index.jsx +++ b/Client/src/Components/Sidebar/index.jsx @@ -2,6 +2,7 @@ import React, { useEffect, useState } from "react"; import { Box, Collapse, + Divider, IconButton, List, ListItemButton, @@ -104,16 +105,21 @@ function Sidebar() { }, []); return ( - - + + {/* menu */} + Menu } @@ -195,12 +201,17 @@ function Sidebar() { ) )} + {/* other */} + Other } @@ -230,13 +241,12 @@ function Sidebar() { ))} - + diff --git a/Client/src/Layouts/HomeLayout/index.css b/Client/src/Layouts/HomeLayout/index.css index 2798bd292..f143b3fd9 100644 --- a/Client/src/Layouts/HomeLayout/index.css +++ b/Client/src/Layouts/HomeLayout/index.css @@ -25,7 +25,11 @@ border-radius: var(--env-var-radius-1); background-color: var(--env-var-color-8); - padding: var(--env-var-spacing-1) var(--env-var-spacing-1-plus); + padding: var(--env-var-spacing-1) 0; +} +.home-layout aside > *:not(:first-child) { + padding-left: var(--env-var-spacing-1-plus); + padding-right: var(--env-var-spacing-1-plus); } .home-layout > div {