diff --git a/src/components/Sidebar/ChannelBar/ChannelBar.tsx b/src/components/Sidebar/ChannelBar/ChannelBar.tsx index 5a21401..b913762 100644 --- a/src/components/Sidebar/ChannelBar/ChannelBar.tsx +++ b/src/components/Sidebar/ChannelBar/ChannelBar.tsx @@ -95,6 +95,7 @@ const ChannelbarContainer = styled.div` padding: 2rem 0; width: 10rem; + height: 100vh; background-color: #141c24; diff --git a/src/components/layout.tsx b/src/components/layout.tsx index 16b7cb6..0d054cb 100644 --- a/src/components/layout.tsx +++ b/src/components/layout.tsx @@ -39,7 +39,7 @@ const Layout = ({ children }: PropsWithChildren) => {
-
{children}
+
{children}
@@ -52,10 +52,27 @@ const CommonLayout = styled.div` const Wrapper = styled.div` width: 100%; + height: 100vh; `; const SidebarWrapper = styled.div` flex: 0 0; `; +const Main = styled.main` + overflow-y: auto; + + ::-webkit-scrollbar { + width: 1rem; + } + ::-webkit-scrollbar-thumb { + background-color: #202b37; + border-radius: 1rem; + } + ::-webkit-scrollbar-track { + background-color: #344051; + border-radius: 1rem; + } +`; + export default Layout; diff --git a/src/pages/make-channel.tsx b/src/pages/make-channel.tsx index d425763..34662e6 100644 --- a/src/pages/make-channel.tsx +++ b/src/pages/make-channel.tsx @@ -99,7 +99,7 @@ export const fadeIn = keyframes` const Container = styled.div` width: 100%; - min-height: calc(100vh - 5.5rem); + height: calc(100vh - 5.5rem); position: relative; `;