1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

M #~: Fix styles for notification with long text (#1046)

This commit is contained in:
Sergio Betanzos 2021-03-30 17:29:08 +02:00 committed by GitHub
parent 0de1ef3780
commit 7b8857f219
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,10 @@ import { SnackbarProvider } from 'notistack'
import { makeStyles } from '@material-ui/core/styles'
const useStyles = makeStyles(({ palette }) => ({
containerRoot: {
marginLeft: 20,
wordBreak: 'break-all'
},
variantSuccess: {
backgroundColor: `${palette.success.main} !important`,
color: palette.success.contrastText
@ -25,6 +29,7 @@ const useStyles = makeStyles(({ palette }) => ({
const NotistackProvider = ({ children }) => {
const classes = useStyles()
return (
<SnackbarProvider
hideIconVariant