Skip to content

Commit

Permalink
Add extra whitespace for use with MessageView
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Oct 21, 2020
1 parent fc9f701 commit 84c3b8c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/components/EmailHeader/EmailHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,18 @@ export default function EmailHeader({ datetime, from_name, from_email, to, cc })
const theme = useTheme();
const useStyles = makeStyles({
"paperWrapper": {
padding: theme.spacing(1),
marginTop: theme.spacing(1),
marginBottom: theme.spacing(1)
padding: `${theme.spacing(1)}px ${theme.spacing(2)}px`,
margin: `${theme.spacing(1)}px 0`,
borderBottomLeftRadius: 0,
borderBottomRightRadius: 0
},
"removeNegativeMargin": {
margin: 0
},
"secondaryInformation": {
backgroundColor: theme.palette.type === "light" ? theme.palette.grey[100] : theme.palette.grey[700],
marginTop: theme.spacing(1),
marginLeft: -theme.spacing(1),
marginRight: -theme.spacing(1),
marginBottom: -theme.spacing(1),
padding: theme.spacing(1)
margin: `${theme.spacing(1)}px ${-theme.spacing(2)}px ${-theme.spacing(1)}px ${-theme.spacing(2)}px`,
padding: `${theme.spacing(1)}px ${theme.spacing(2)}px`
}
});
const classes = useStyles();
Expand Down

0 comments on commit 84c3b8c

Please sign in to comment.