change fixed units to use theme.spacing()

This commit is contained in:
JD Welch
2020-02-03 16:54:48 +01:00
parent 99caec566f
commit 9aad7c9fc4
+7 -7
View File
@@ -26,23 +26,23 @@ const useStyles = makeStyles(theme => ({
background: '#181818',
color: 'white',
height: '100vh',
paddingLeft: '1rem',
paddingTop: '1rem',
paddingLeft: theme.spacing(2),
paddingTop: theme.spacing(2),
},
pageHeader: {
// FIXME: Make part of PageHeader component
background: 'linear-gradient(262.63deg, #19D15A 4.2%, #1CAB5B 72.01%)',
height: '120px',
paddingTop: '1rem',
paddingLeft: '1rem',
paddingTop: theme.spacing(2),
paddingLeft: theme.spacing(2),
color: 'white',
},
pageBody: {
paddingLeft: '1rem',
paddingTop: '1rem',
paddingLeft: theme.spacing(2),
paddingTop: theme.spacing(2),
},
avatarButton: {
padding: '1rem',
padding: theme.spacing(2),
},
}));