Update React & Material-UI

This commit is contained in:
Thomas Nordquist
2019-02-17 17:51:42 +01:00
parent 3f52944f18
commit 03462f7ec8
12 changed files with 72 additions and 54 deletions

View File

@@ -89,7 +89,7 @@ const styles = (theme: Theme) => ({
maxWidth: 650,
backgroundColor: theme.palette.background.default,
margin: '10vh auto auto auto',
padding: `${2 * theme.spacing.unit}px`,
padding: theme.spacing(2),
outline: 'none',
},
title: {
@@ -105,7 +105,7 @@ const styles = (theme: Theme) => ({
},
buttonPositioning: {
textAlign: 'center' as 'center',
marginTop: `${theme.spacing.unit * 2}px`,
marginTop: theme.spacing(2),
},
})