From 3a9b9e9e55098961f51e07dfa010dcb67a001ebd Mon Sep 17 00:00:00 2001 From: Mateusz Kwasniewski Date: Wed, 28 Aug 2024 11:57:29 +0200 Subject: [PATCH] feat: fixed full mode navbar width (#8001) --- .../layout/MainLayout/NavigationSidebar/NavigationSidebar.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/component/layout/MainLayout/NavigationSidebar/NavigationSidebar.tsx b/frontend/src/component/layout/MainLayout/NavigationSidebar/NavigationSidebar.tsx index 80754cac28..20e3f57d0c 100644 --- a/frontend/src/component/layout/MainLayout/NavigationSidebar/NavigationSidebar.tsx +++ b/frontend/src/component/layout/MainLayout/NavigationSidebar/NavigationSidebar.tsx @@ -51,6 +51,7 @@ export const StretchContainer = styled(Box)<{ mode: string }>( gap: theme.spacing(2), zIndex: 1, overflowAnchor: 'none', + minWidth: mode === 'full' ? theme.spacing(40) : 'auto', width: mode === 'full' ? theme.spacing(40) : 'auto', }), );