Skip to content

Commit

Permalink
[#48] 마이페이지 반응형작업 완료 (1024,768,414,375)
Browse files Browse the repository at this point in the history
  • Loading branch information
leemember committed Oct 9, 2021
1 parent 2cd313d commit 8b2ebd9
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/MyPage/LikeImage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ const MyUploadText = styled.div`
background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, #ffd0ae 50%);
width: fit-content;
margin: 8px 0;
@media (max-width: 414px) {
font-size: 1rem;
}
`;

export const EmptyWrap = styled.section`
Expand Down
3 changes: 3 additions & 0 deletions src/components/MyPage/MyUpload/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ const MyUploadText = styled.div`
font-size: 1.5rem;
font-weight: bold;
background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, #ffd0ae 50%);
@media (max-width: 414px) {
font-size: 1rem;
}
`;

const EmptyWrap = styled.section`
Expand Down
18 changes: 18 additions & 0 deletions src/pages/mypage/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,30 @@ export const Title = styled.h1`
font-weight: bold;
margin: 2em 0 3em 0;
letter-spacing: -0.8px;
@media (max-width: 414px) {
margin-left: 1.5rem;
margin-bottom: 1rem;
}
`;
export const Container = styled.div`
width: 1000px;
margin: 0 auto;
padding-bottom: 10%;
@media (max-width: 768px) {
width: 700px;
}
@media (max-width: 414px) {
width: 100%;
}
`;

export const Content = styled.div`
display: flex;
justify-content: center;
width: 100%;
@media (max-width: 414px) {
display: grid;
}
`;

export const MyPageLink = styled.div`
Expand Down Expand Up @@ -44,4 +57,9 @@ export const MyPageTab = styled.div`
border: 1px solid #f5f5f5;
margin-left: 2rem;
width: 70%;
@media (max-width: 414px) {
width: 100%;
margin-left: 0;
margin-top: 2rem;
}
`;

0 comments on commit 8b2ebd9

Please sign in to comment.