diff --git a/src/app/(with-header-sidebar)/layout.module.css b/src/app/(with-header-sidebar)/layout.module.css index 1dfd0fb..1737a4c 100644 --- a/src/app/(with-header-sidebar)/layout.module.css +++ b/src/app/(with-header-sidebar)/layout.module.css @@ -1,3 +1,13 @@ -.header { - color: yellowgreen; +.container { + display: flex; + height: 100%; +} + +.sideBarWrapper { + border-right: 1px solid var(--gray-300); + padding: 22px; +} + +.mainWrapper { + flex: 1; } diff --git a/src/app/(with-header-sidebar)/layout.tsx b/src/app/(with-header-sidebar)/layout.tsx index c085669..de9f3fb 100644 --- a/src/app/(with-header-sidebar)/layout.tsx +++ b/src/app/(with-header-sidebar)/layout.tsx @@ -1,16 +1,17 @@ import { ReactNode } from 'react'; import SideBar from '@/components/SideBar'; import styles from './layout.module.css'; -import Header from '@/components/Header'; +import MainContainer from '@/components/MainContainer'; export default function Layout({ children }: { children: ReactNode }) { return ( - <> -
-