Skip to content

Commit

Permalink
design: (#123) 모바일버전 main 태그 상단margin 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
chsua committed Jul 25, 2023
1 parent b23728c commit 0d573bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/components/common/Layout/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,11 @@ export const MainContainer = styled.main<{ $isSidebarVisible: boolean }>`
display: flex;
justify-content: center;
margin-top: 15px;
width: 100%;
@media (min-width: ${theme.breakpoint.sm}) {
margin-top: 0;
padding-left: ${({ $isSidebarVisible }) => $isSidebarVisible && '225px'};
}
`;
Expand Down

0 comments on commit 0d573bc

Please sign in to comment.