Add elevation to snackbar
Depending on the color of the background, the snackbar was hard to see, especially when using light mode
This commit is contained in:
@@ -55,7 +55,7 @@ export const SnackbarWithDescription = memo(
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<SnackbarContent ref={ref}>
|
<SnackbarContent ref={ref}>
|
||||||
<Alert severity={severity} action={finalAction}>
|
<Alert elevation={1} severity={severity} action={finalAction}>
|
||||||
<TitleComponent>{message}</TitleComponent>
|
<TitleComponent>{message}</TitleComponent>
|
||||||
{actualDescription}
|
{actualDescription}
|
||||||
{isDescriptionTooLong ? (
|
{isDescriptionTooLong ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user