fix error message format, prevent text overflow
This commit is contained in:
parent
d5cf8c94ab
commit
1442f33d5a
|
@ -17,7 +17,7 @@ const FormErrorMessage = () => {
|
||||||
const hasNewSubmitError = !!submitError && !modifiedSinceLastSubmit
|
const hasNewSubmitError = !!submitError && !modifiedSinceLastSubmit
|
||||||
return hasNewSubmitError ? (
|
return hasNewSubmitError ? (
|
||||||
<Row align="center" className={classes.fullWidth} margin="xs">
|
<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}
|
{submitError}
|
||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Row>
|
</Row>
|
||||||
|
|
Loading…
Reference in New Issue