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:
schroda
2024-12-23 02:46:56 +01:00
parent 71373d4bd3
commit 2acc82289d

View File

@@ -55,7 +55,7 @@ export const SnackbarWithDescription = memo(
return (
<SnackbarContent ref={ref}>
<Alert severity={severity} action={finalAction}>
<Alert elevation={1} severity={severity} action={finalAction}>
<TitleComponent>{message}</TitleComponent>
{actualDescription}
{isDescriptionTooLong ? (