Skip to content

Commit

Permalink
Fix font size on iPhone X
Browse files Browse the repository at this point in the history
(this needs to be further enhanced with scalable SVGs)
  • Loading branch information
12 committed May 19, 2019
1 parent 30c17ed commit 1456c37
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/Helpers/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,24 +63,20 @@ export const Heading = styled.div`
flex-direction: row;
flex-wrap: wrap;
align-items: center;
font-size: 1rem;
background: ${props => lineBackgroundColour(props)};
@media only screen and (max-width: ${DEVICE_BREAKPOINT_PX}px) {
span {
font-size: 4vw;
font-size: 0.875rem;
}
}
`;

export const Title = styled.div`
font-weight: 600;
margin-left: 15px;
font-size: 18px;
display: inline-block;
@media only screen and (max-width: ${DEVICE_BREAKPOINT_PX}px) {
font-size: 4vw;
}
`;

export const Details = styled.div`
Expand Down

0 comments on commit 1456c37

Please sign in to comment.