Skip to content

Commit

Permalink
fix: sm 이하 넓이에서는 컨테이너가 flex-start가 되도록 변경 (#533)
Browse files Browse the repository at this point in the history
- 모바일에서는 중앙 정렬시 잘 안보임
  • Loading branch information
cruelladevil authored Oct 19, 2023
1 parent 7fbf92b commit be75d4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/features/songs/components/SongDetailItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ const Container = styled.div`
height: 100vh;
padding-top: ${({ theme: { headerHeight } }) => headerHeight.desktop};
@media (max-width: ${({ theme }) => theme.breakPoints.sm}) {
justify-content: flex-start;
}
@media (max-width: ${({ theme }) => theme.breakPoints.xs}) {
padding-top: ${({ theme: { headerHeight } }) => headerHeight.mobile};
}
Expand Down

0 comments on commit be75d4f

Please sign in to comment.