Fix long text breaking the snackbar (#2171)

* Fix long text breaking the snackbar

* 80px -> 160px

* Add a scroll bar in the snackbar

Co-authored-by: Fernando <fernando.greco@gmail.com>
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
This commit is contained in:
katspaugh 2021-04-21 16:05:47 +02:00 committed by GitHub
parent 8d0b512ebf
commit d2f1e9eb2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -279,6 +279,11 @@ const theme = createMuiTheme({
'& > span': {
display: 'flex',
flexDirection: 'row',
alignItems: 'stretch',
overflowX: 'hidden',
overflowY: 'auto',
maxHeight: '160px',
wordBreak: 'break-word',
'& > img': {
display: 'block',
marginRight: '13px',