From 27ed07e81f43e116649b56a059e8680f61e4072b Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Mon, 2 Aug 2021 10:26:29 -0600 Subject: [PATCH] ui(admin): fix user sidebar alignment when collapsed --- resources/scripts/routers/AdminRouter.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/scripts/routers/AdminRouter.tsx b/resources/scripts/routers/AdminRouter.tsx index 637296004..9f3a1a38b 100644 --- a/resources/scripts/routers/AdminRouter.tsx +++ b/resources/scripts/routers/AdminRouter.tsx @@ -80,6 +80,7 @@ const Sidebar = styled.div<{ collapsed?: boolean }>` & > div.user { ${tw`h-16 w-full flex items-center bg-neutral-700`}; ${props => !props.collapsed && tw`mt-auto px-5`}; + ${props => props.collapsed && tw`justify-center`}; & > div, a { ${props => props.collapsed && tw`hidden`};