fix error message format, prevent text overflow

This commit is contained in:
fernandomg 2020-06-01 23:35:35 -03:00
parent d5cf8c94ab
commit 1442f33d5a
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ const FormErrorMessage = () => {
const hasNewSubmitError = !!submitError && !modifiedSinceLastSubmit
return hasNewSubmitError ? (
<Row align="center" className={classes.fullWidth} margin="xs">
<Paragraph color="error" noMargin size="md" style={{ letterSpacing: '-0.5px' }}>
<Paragraph color="error" noMargin size="md" style={{ letterSpacing: '-0.5px', overflowWrap: 'anywhere' }}>
{submitError}
</Paragraph>
</Row>