diff --git a/src/components/common/sidebar/index.tsx b/src/components/common/sidebar/index.tsx index 4cc4e2a..73e163b 100644 --- a/src/components/common/sidebar/index.tsx +++ b/src/components/common/sidebar/index.tsx @@ -30,13 +30,13 @@ export const Sidebar = () => { const Wrapper = styled.div<{ isOpen: boolean }>` width: ${({ isOpen }) => (isOpen ? '260px' : '80px')}; - left: 0; transition: 0.4s ease-in-out; height: calc(100vh - 80px); background-color: white; border-right: 1px #dddddd solid; - position: absolute; + position: fixed; z-index: 10; + left: 0; display: flex; flex-direction: column; align-items: center;