From 87e526e015495f00ca5c002dfc0e0f1488e378c3 Mon Sep 17 00:00:00 2001 From: dutexion Date: Tue, 16 Apr 2024 23:03:14 +0900 Subject: [PATCH] chore :: code formatting --- src/components/common/sidebar/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;