From 39dea492032e03126f7330641993828dc750a14d Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Sat, 19 Oct 2024 15:19:23 +0200 Subject: [PATCH] Get proper nav bar width The drawer can potentially have a border, which would have been ignored, thus, detecting an incorrect width --- src/modules/navigation-bar/components/DesktopSideBar.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/navigation-bar/components/DesktopSideBar.tsx b/src/modules/navigation-bar/components/DesktopSideBar.tsx index 8a6ff5ae..e9fc6ccb 100644 --- a/src/modules/navigation-bar/components/DesktopSideBar.tsx +++ b/src/modules/navigation-bar/components/DesktopSideBar.tsx @@ -113,9 +113,11 @@ export const DesktopSideBar = ({ navBarItems }: { navBarItems: NavbarItem[] }) = zIndex: (theme) => theme.zIndex.drawer - 1, }, }} + PaperProps={{ + ref, + }} >