const styles = withStyles<CssRules>((theme: ArvadosTheme) => ({
rightContainer: {
textAlign: 'right',
- paddingRight: theme.spacing.unit * 2,
+ paddingRight: theme.spacing(2),
color: theme.palette.grey["500"]
},
leftContainer: {
textAlign: 'left',
- paddingLeft: theme.spacing.unit * 2
+ paddingLeft: theme.spacing(2)
},
spacing: {
- paddingTop: theme.spacing.unit * 2
+ paddingTop: theme.spacing(2)
},
}));