adjust theme spacing to not use extra units

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2023-07-07 14:39:26 +02:00
parent 639bbea9f0
commit 3d86be999f
11 changed files with 23 additions and 12 deletions
@@ -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%',