Skip to content

Commit

Permalink
Refactor: 사이드바가 나타나고 사라질 때 부드러운 애니메이션 추가 (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
hankim0904 authored Apr 24, 2024
1 parent 6df62a5 commit e01dd1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions co-kkiri/src/layouts/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const SideBarWrapper = styled.div<SideBarWrapperProps>`

const OutletWrapper = styled.div<{ $isOpen: boolean }>`
padding-left: ${(props) => (props.$isOpen ? "21rem" : 0)};
transition: padding-left 0.5s ease-in-out;
${mediaQueries.tablet} {
padding-left: 0;
Expand Down

0 comments on commit e01dd1c

Please sign in to comment.