Skip to content

Commit e2b6c37

Browse files
committed
mobile responsiveness
1 parent 81f3ad1 commit e2b6c37

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/components/common/Description.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,19 @@ const DescriptionContainer = styled.div`
66
h1 {
77
margin: 0;
88
font-size: 72px;
9+
@media (max-width: 768px) {
10+
font-size: 42px;
11+
}
912
color: ${props =>
1013
props.islightcolor === "true"
1114
? `var(--accentwhite)`
1215
: `var(--accentdark)`};
1316
}
1417
p {
1518
font-size: 22px;
19+
@media (max-width: 768px) {
20+
font-size: 18px;
21+
}
1622
color: ${props =>
1723
props.islightcolor === "true"
1824
? `var(--accentwhite)`

0 commit comments

Comments
 (0)