Fix overflow issue for mic drop image

Signed-off-by: sblausten <sam@roadie.io>
This commit is contained in:
sblausten
2022-09-12 11:56:23 +01:00
parent 1e504ae740
commit f52dfc0c48
2 changed files with 1 additions and 3 deletions
@@ -70,7 +70,6 @@ export function ErrorPage(props: IErrorPageProps) {
return (
<Grid container spacing={0} className={classes.container}>
<MicDrop />
<Grid item xs={12} sm={8} md={4}>
<Typography
data-testid="error"
@@ -94,6 +93,7 @@ export function ErrorPage(props: IErrorPageProps) {
think this is a bug.
</Typography>
</Grid>
<MicDrop />
</Grid>
);
}
@@ -22,12 +22,10 @@ const useStyles = makeStyles(
theme => ({
micDrop: {
maxWidth: '60%',
position: 'absolute',
bottom: theme.spacing(2),
right: theme.spacing(2),
[theme.breakpoints.down('xs')]: {
maxWidth: '96%',
position: 'relative',
bottom: 'unset',
right: 'unset',
margin: `${theme.spacing(10)}px auto ${theme.spacing(4)}px`,