Skip to content

Commit

Permalink
Remove uneccesary padding
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Oct 13, 2020
1 parent 8a99dbe commit 42e54db
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/ItemBodyView/ItemBodyView.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ export default function ItemBodyView({ item }) {

const useStyles = makeStyles(() => ({
"Timeline-root": {
paddingLeft: "0"
paddingLeft: "0",
paddingRight: "0",
},
"TimelineContent-root": {
paddingRight: "0",
},
"TimelineItem-missingOppositeContent": {
'&:before': {
Expand Down Expand Up @@ -92,7 +96,9 @@ export default function ItemBodyView({ item }) {
<TimelineDot />
<TimelineConnector />
</TimelineSeparator>
<TimelineContent>
<TimelineContent
classes={{ root: classes["TimelineContent-root"] }}
>
{generateTimelineItem(section)}
</TimelineContent>
</TimelineItem>
Expand Down

0 comments on commit 42e54db

Please sign in to comment.