adjust theme spacing to not use extra units
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -42,7 +42,7 @@ const useStyles = makeStyles((theme: Theme) =>
|
||||
backgroundColor: theme.palette.background.paper,
|
||||
},
|
||||
progress: {
|
||||
margin: `0 ${theme.spacing(2)}px`,
|
||||
margin: theme.spacing(0, 2),
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
@@ -41,7 +41,7 @@ const useStyles = makeStyles((theme: Theme) =>
|
||||
backgroundColor: theme.palette.background.paper,
|
||||
},
|
||||
progress: {
|
||||
margin: `0 ${theme.spacing(2)}px`,
|
||||
margin: theme.spacing(0, 2),
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
@@ -59,7 +59,7 @@ const useStyles = makeStyles((theme: Theme) =>
|
||||
display: 'flex',
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
minWidth: `calc(100% - ${theme.spacing(2)}px)`,
|
||||
minWidth: `calc(100% - ${theme.spacing(2)})`,
|
||||
},
|
||||
formHeader: {
|
||||
width: '50%',
|
||||
|
||||
Reference in New Issue
Block a user