From f72402b5fa90ecfb3ac3379f0c61ae2a8d07e8ab Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Fri, 1 Jan 2021 16:26:48 -0700 Subject: [PATCH] God please forgive me for the sin I have just committed --- resources/scripts/routers/AdminRouter.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/scripts/routers/AdminRouter.tsx b/resources/scripts/routers/AdminRouter.tsx index ee153f744..a32d08195 100644 --- a/resources/scripts/routers/AdminRouter.tsx +++ b/resources/scripts/routers/AdminRouter.tsx @@ -20,7 +20,7 @@ import NestsContainer from '@/components/admin/nests/NestsContainer'; import MountsContainer from '@/components/admin/mounts/MountsContainer'; const Sidebar = styled.div<{ collapsed?: boolean }>` - ${tw`h-screen flex flex-col items-center flex-shrink-0 bg-neutral-900 overflow-x-hidden transition-all duration-250 ease-linear`}; + ${tw`fixed h-screen flex flex-col items-center flex-shrink-0 bg-neutral-900 overflow-x-hidden transition-all duration-250 ease-linear`}; ${props => props.collapsed ? 'width: 70px' : 'width: 287px'}; & > div.header { @@ -164,8 +164,8 @@ const AdminRouter = ({ location, match }: RouteComponentProps) => { -
-
+
+
{/* */}