Skip to content

Commit

Permalink
narratives: Set p, li width at 90% on mobile
Browse files Browse the repository at this point in the history
Don't allow paragraphs on mobile narratives to go to the right edge of
the screen.
  • Loading branch information
kairstenfay committed Jan 31, 2020
1 parent fee5a60 commit eca3fb3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/narrative/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,8 @@ export const MobileContentContainer = styled.div`
overflow-y: scroll;
color: ${(props) => props.theme.unselectedColor};
background-color: ${(props) => props.theme.background};
p, li {
width: 90%;
}
`;

0 comments on commit eca3fb3

Please sign in to comment.