diff --git a/packages/component-faraday-ui/src/AuthorReply.js b/packages/component-faraday-ui/src/AuthorReply.js index 4bbb8d22b3218279bbedaedb1af03b7bd7f1bca0..872a4be66501eac3ca9dcf4aadcb4c18d94178ad 100644 --- a/packages/component-faraday-ui/src/AuthorReply.js +++ b/packages/component-faraday-ui/src/AuthorReply.js @@ -26,7 +26,7 @@ const AuthorReply = ({ <Row mb={1}> <Item vertical> <Label mb={1 / 2}>Author Reply</Label> - <Text>{replyContent}</Text> + <Text whiteSpace="pre-wrap">{replyContent}</Text> </Item> </Row> <Text ml={1} mr={1} whiteSpace="nowrap"> diff --git a/packages/component-faraday-ui/src/EditorialReportCard.js b/packages/component-faraday-ui/src/EditorialReportCard.js index 1f394ee94dd7a7af80267eadfc9e59aeb07161b1..f43ddb1072b43579b889eaffcbe8b34226258e3d 100644 --- a/packages/component-faraday-ui/src/EditorialReportCard.js +++ b/packages/component-faraday-ui/src/EditorialReportCard.js @@ -51,7 +51,7 @@ const EditorialReportCard = ({ <Row mb={2}> <Item vertical> <Label mb={1 / 2}>{publicLabel}</Label> - <Text>{publicReport}</Text> + <Text whiteSpace="pre-wrap">{publicReport}</Text> </Item> </Row> )} @@ -60,7 +60,7 @@ const EditorialReportCard = ({ <Row mb={2}> <Item vertical> <Label mb={1 / 2}>{privateLabel}</Label> - <Text>{privateReport}</Text> + <Text whiteSpace="pre-wrap">{privateReport}</Text> </Item> </Row> )} diff --git a/packages/component-faraday-ui/src/ReviewerReport.js b/packages/component-faraday-ui/src/ReviewerReport.js index fc2c942c5bb4fdee93bfcbd64cc2bb05d768d3f2..36c67144b3e092102fe16e27a26c2228c0809402 100644 --- a/packages/component-faraday-ui/src/ReviewerReport.js +++ b/packages/component-faraday-ui/src/ReviewerReport.js @@ -44,7 +44,7 @@ const ReviewerReport = ({ <Row mb={2}> <Item vertical> <Label mb={1 / 2}>Report</Label> - <Text>{publicReport}</Text> + <Text whiteSpace="pre-wrap">{publicReport}</Text> </Item> </Row> )} @@ -68,7 +68,7 @@ const ReviewerReport = ({ <Row mb={2}> <Item vertical> <Label mb={1 / 2}>Confidential note for the Editorial Team</Label> - <Text>{privateReport}</Text> + <Text whiteSpace="pre-wrap">{privateReport}</Text> </Item> </Row> )} diff --git a/packages/component-faraday-ui/src/ReviewerReportAuthor.js b/packages/component-faraday-ui/src/ReviewerReportAuthor.js index ded36d3ae2e8128002c2bbde7a0292d172d44d66..b921052a43f28c03404f823a5244fd301cbb19dc 100644 --- a/packages/component-faraday-ui/src/ReviewerReportAuthor.js +++ b/packages/component-faraday-ui/src/ReviewerReportAuthor.js @@ -33,7 +33,7 @@ const ReviewerReportAuthor = ({ <Row mb={1}> <Item vertical> <Label mb={1 / 2}>Report</Label> - <Text>{publicReport}</Text> + <Text whiteSpace="pre-wrap">{publicReport}</Text> </Item> </Row> )} diff --git a/packages/component-faraday-ui/src/manuscriptDetails/ManuscriptMetadata.js b/packages/component-faraday-ui/src/manuscriptDetails/ManuscriptMetadata.js index f86208b45f71994aaf8ae38bec91a88df103ed40..007ab95b31a4d8182f78f493f558f82843d8475b 100644 --- a/packages/component-faraday-ui/src/manuscriptDetails/ManuscriptMetadata.js +++ b/packages/component-faraday-ui/src/manuscriptDetails/ManuscriptMetadata.js @@ -24,7 +24,7 @@ const ManuscriptMetadata = ({ startExpanded transparent > - <Text mb={1} mt={1}> + <Text mb={1} mt={1} whiteSpace="pre-wrap"> {abstract} </Text> </ContextualBox> diff --git a/packages/component-manuscript/src/components/SubmitRevision.js b/packages/component-manuscript/src/components/SubmitRevision.js index 0fa81380877fdf5ff9c2be286c62971c01139fe8..ae6e333fd324b1d97cb7185afec66b71b14d54fc 100644 --- a/packages/component-manuscript/src/components/SubmitRevision.js +++ b/packages/component-manuscript/src/components/SubmitRevision.js @@ -106,7 +106,7 @@ const SubmitRevision = ({ </CustomValidatedField> </Expandable> {!isEmpty(reviews) && ( - <Expandable label="RESPONSE TO REVIEWER COMMENTS" startExpanded> + <Expandable label="RESPONSE TO REVISION REQUEST" startExpanded> <Title>Reply text*</Title> <Row> <FullWidth className="full-width">