Skip to content

Commit

Permalink
feat(lastlog.jsx): last log mobile view temp
Browse files Browse the repository at this point in the history
  • Loading branch information
junglesub committed Aug 3, 2024
1 parent 0b0b2f7 commit 762b3a5
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions src/components/Mypage/LastLog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,22 @@ const Header = {
height: 109px;
background-color: white;
padding: 0 40px;
transition: padding 300ms;
@media (max-width: 750px) {
padding: 0 18px;
}
`,
closeIcn: styled.img`
cursor: pointer;
padding: 16px;
margin-left: -16px;
transition: width 300ms;
@media (max-width: 750px) {
box-sizing: border-box;
width: 64px;
}
`,
text: styled.div`
/* 지난 기록 */
Expand All @@ -240,6 +252,10 @@ const UserRecordWeek = styled.div`
justify-content: space-between;
align-items: center;
padding: 0 33px;
transition: padding 300ms;
@media (max-width: 750px) {
padding: 0 14px;
}
div {
/* Week 2 */
Expand Down Expand Up @@ -267,6 +283,11 @@ const UserRecordDay = {
color: black;
transition: padding 300ms;
@media (max-width: 750px) {
padding: 0 14px;
}
.day {
margin-right: 18px;
${pretendard}
Expand All @@ -279,6 +300,12 @@ const UserRecordDay = {
text-transform: uppercase;
color: #000000;
@media (max-width: 750px) {
font-size: 3.2vw;
}
@media (max-width: 650px) {
font-size: 20.8px;
}
}
.date {
Expand All @@ -291,6 +318,13 @@ const UserRecordDay = {
text-transform: uppercase;
color: #000000;
@media (max-width: 750px) {
font-size: 3.733vw;
}
@media (max-width: 650px) {
font-size: 24.265px;
}
}
`,
day: styled.div`
Expand All @@ -303,6 +337,18 @@ const UserRecordDay = {
.stamp {
margin-right: 23px;
transition: margin-right 300ms;
@media (max-width: 750px) {
margin-right: 14px;
img {
width: 9.467vw;
}
}
@media (max-width: 650px) {
img {
width: 61.536px;
}
}
}
.status {
Expand All @@ -317,6 +363,12 @@ const UserRecordDay = {
text-transform: uppercase;
color: #000000;
@media (max-width: 750px) {
font-size: 2.667vw;
}
@media (max-width: 650px) {
font-size: 17.335px;
}
}
.stats {
Expand Down

0 comments on commit 762b3a5

Please sign in to comment.