Skip to content

Commit

Permalink
Simplify ItemView content padding
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Aug 17, 2020
1 parent 700bafc commit ff76bf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ItemView.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function ItemView(props){

const useStyles = makeStyles((theme) => ({
"paperMargin": {
paddingLeft: theme.spacing(3),
padding: theme.spacing(1),
}
}));

Expand All @@ -21,7 +21,7 @@ return(

{/* <ListItem> */}
{props.activeItem["content"] ? props.activeItem["content"].map(line => (
<Typography variant="body1" style={{paddingLeft: "1.5em"}} paragraph>
<Typography variant="body1" paragraph>
{line}
</Typography>
)): "" }
Expand Down

0 comments on commit ff76bf2

Please sign in to comment.