From bf8fcadb4c92a2cd6f6748ffe051662965a08688 Mon Sep 17 00:00:00 2001 From: Rafey Rana <24100103@lums.edu.pk> Date: Sun, 29 Dec 2024 12:02:11 -0500 Subject: [PATCH 1/2] Sidebar icon button rounded --- Client/src/Components/Sidebar/index.jsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Client/src/Components/Sidebar/index.jsx b/Client/src/Components/Sidebar/index.jsx index b071caa1e..dcbcee885 100644 --- a/Client/src/Components/Sidebar/index.jsx +++ b/Client/src/Components/Sidebar/index.jsx @@ -572,6 +572,14 @@ function Sidebar() { ml: "auto", mr: "-8px", "&:focus": { outline: "none" }, + alignSelf: "center", + padding: '10px', + + "& svg": { + width: "22px", + height: "22px", + }, + "& svg": { width: "20px", height: "20px", From 36ca55e2b6eb14d358bf6b382cc919061e89d6f8 Mon Sep 17 00:00:00 2001 From: Rafey Rana <24100103@lums.edu.pk> Date: Sun, 29 Dec 2024 12:10:54 -0500 Subject: [PATCH 2/2] code cleanup --- Client/src/Components/Sidebar/index.jsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Client/src/Components/Sidebar/index.jsx b/Client/src/Components/Sidebar/index.jsx index dcbcee885..306c54bbc 100644 --- a/Client/src/Components/Sidebar/index.jsx +++ b/Client/src/Components/Sidebar/index.jsx @@ -579,11 +579,6 @@ function Sidebar() { width: "22px", height: "22px", }, - - "& svg": { - width: "20px", - height: "20px", - }, "& svg path": { stroke: theme.palette.other.icon, },