Fix leaving buttons on smaller screens

This commit is contained in:
Roman Drozd 2021-11-03 12:39:02 +01:00
parent 7c09d28be1
commit 2f5c33d491

View file

@ -36,6 +36,15 @@ const styles = (theme) =>
width : '90vw'
}
},
dialogActions :
{
flexDirection : 'row',
[theme.breakpoints.down('xs')] :
{
flexDirection : 'column'
}
},
logo :
{
marginLeft : theme.spacing(1.5),
@ -106,7 +115,7 @@ const LeaveDialog = ({
defaultMessage='Do you want to leave the room?'
/>
</DialogContent>
<DialogActions>
<DialogActions className={classes.dialogActions}>
<Button
onClick={handleStay}
color='primary'