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) => { -
-
+
+
{/* */}