diff --git a/client/src/javascript/components/sidebar/Sidebar.tsx b/client/src/javascript/components/sidebar/Sidebar.tsx index ae64d539..cd597f36 100644 --- a/client/src/javascript/components/sidebar/Sidebar.tsx +++ b/client/src/javascript/components/sidebar/Sidebar.tsx @@ -1,4 +1,4 @@ -import {FC} from 'react'; +import {FC, ReactNode} from 'react'; import {OverlayScrollbarsComponent} from 'overlayscrollbars-react'; import DiskUsage from './DiskUsage'; @@ -15,6 +15,15 @@ import ThemeSwitchButton from './ThemeSwitchButton'; import TrackerFilters from './TrackerFilters'; import TransferData from './TransferData'; +const BottomContainer: FC<{children: ReactNode}> = ({children}: {children: ReactNode}) => { + return ( +
+
+ {children} +
+ ); +}; + const Sidebar: FC = () => { return ( { - - - + + + + + ); }; diff --git a/client/src/sass/components/_sidebar.scss b/client/src/sass/components/_sidebar.scss index a2794004..7fcb0aa5 100644 --- a/client/src/sass/components/_sidebar.scss +++ b/client/src/sass/components/_sidebar.scss @@ -13,6 +13,11 @@ z-index: 2; transition: transform 0.2s; + .os-content { + display: flex; + flex-direction: column; + } + @media (max-width: 720px) { transform: translateX(-120px); }