Very long words wont any longer overflow over the parent container boundary.
Instead a scrollbar will be shown.
This commit is contained in:
Sascha 2021-04-29 21:35:17 +02:00 committed by GitHub
parent bc96f316ff
commit 87df46bd75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@ const useStyles = makeStyles((theme) => ({
margin: theme.spacing(2, 0),
},
preview: {
overflow: 'auto',
borderBottom: `solid 3px ${theme.palette.grey['200']}`,
minHeight: '5rem',
},

View File

@ -57,6 +57,7 @@ const useStyles = makeStyles((theme) => ({
marginLeft: '0.5rem',
},
body: {
overflow: 'auto',
...theme.typography.body2,
paddingLeft: theme.spacing(1),
paddingRight: theme.spacing(1),

View File

@ -111,6 +111,7 @@ const AccordionSummary = withStyles((theme) => ({
const AccordionDetails = withStyles((theme) => ({
root: {
display: 'block',
overflow: 'auto',
padding: theme.spacing(2),
},
}))(MuiAccordionDetails);