set notifications column width to widest element

This commit is contained in:
AlicjaSzu 2020-06-29 12:22:59 +02:00
parent 88da4cab1d
commit 5960eb4644
2 changed files with 4 additions and 1 deletions

View file

@ -14,6 +14,9 @@ export interface IMessage {
export const notificationOptions = { export const notificationOptions = {
containerStyle: { containerStyle: {
display: "grid",
gridTemplateRows: "repeat(auto-fill, minmax(90px, 1fr)",
justifyContent: "end",
zIndex: 1200 zIndex: 1200
}, },

View file

@ -148,7 +148,7 @@ export const useStyles = makeStyles(
}, },
borderRadius: 4, borderRadius: 4,
paddingBottom: 15, paddingBottom: 15,
paddingRight: 40, paddingRight: 45,
position: "relative" position: "relative"
}, },
snackbarContainer: { snackbarContainer: {