make create-audit page responsive (#3069)

This commit is contained in:
Abhishek Jakhar
2020-10-26 00:11:28 +05:30
committed by GitHub
parent ae567d8125
commit 03b21ff56f
@@ -42,6 +42,9 @@ import LighthouseSupportButton from '../SupportButton';
const useStyles = makeStyles(theme => ({
input: {
minWidth: 300,
[theme.breakpoints.down('xs')]: {
minWidth: '100%',
},
},
buttonList: {
marginLeft: theme.spacing(-1),
@@ -49,6 +52,14 @@ const useStyles = makeStyles(theme => ({
'& > *': {
margin: theme.spacing(1),
},
[theme.breakpoints.down('xs')]: {
marginLeft: 0,
marginRight: 0,
flexDirection: 'column',
'& > *': {
width: '100%',
},
},
},
}));