don't use deprecated theme spacing
This commit is contained in:
1 parent
9da0888d7d
commit
5d9ccd3095
17 files changed
+60
-58
No files matched your search
@@ -7,8 +7,8 @@ import Typography from '@material-ui/core/Typography';
|
||||
|
||||
const styles = theme => ({
|
||||
content: {
|
||||
padding: theme.spacing.unit * 2,
|
||||
margin: theme.spacing.unit * 2,
|
||||
padding: theme.spacing(2),
|
||||
margin: theme.spacing(2),
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import CloseIcon from '@material-ui/icons/Close';
|
||||
|
||||
const styles = theme => ({
|
||||
close: {
|
||||
padding: theme.spacing.unit / 2,
|
||||
padding: theme.spacing(0.5),
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user