fix(SnackbarProvider): center alert

This commit is contained in:
Christopher committed 2021-02-11 21:12:19 +01:00
1 parent 82adc9497b
commit 9ba8bd683f
2 files changed
+7 -8

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ import React from 'react';
import MuiAlert from '@material-ui/lab/Alert';
export function Alert(props) {
return <MuiAlert elevation={6} variant='filled' {...props} />;
return <MuiAlert style={{ zIndex: 10000 }} elevation={6} variant='filled' {...props} />;
}
export default Alert;