Skip to content

Commit

Permalink
feat: make font-size larger when max-screen-width under 800px
Browse files Browse the repository at this point in the history
  • Loading branch information
soonki-98 committed Oct 3, 2022
1 parent f31ea76 commit b1c4755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/Image/Image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,15 @@ const Items = styled.div<ImagePropsType>`
font-size: ${({ subheadSize }) => subheadSize};
color: ${({ subheadColor }) => subheadColor};
@media screen and (max-width: 800px) {
font-size: 1.5vw;
font-size: 1rem;
}
}
.head {
font-size: ${({ headSize }) => headSize};
font-weight: ${({ headWeight }) => headWeight};
color: ${({ headColor }) => headColor};
@media screen and (max-width: 800px) {
font-size: 1.5vw;
font-size: 1.2rem;
}
}
margin-bottom: 10px;
Expand Down

0 comments on commit b1c4755

Please sign in to comment.