Skip to content
Snippets Groups Projects
Commit 502419f8 authored by Tania Fecheta's avatar Tania Fecheta
Browse files

feat(text components): preserve the new lines the user adds when writing a report/recommendation or

parent 0d609091
No related branches found
No related tags found
3 merge requests!196S25 - EiC submit revision,!189S25,!185preserve the new lines the user adds when writing a report/recommendation or abstract
......@@ -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">
......
......@@ -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>
)}
......
......@@ -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>
)}
......
......@@ -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>
)}
......
......@@ -24,7 +24,7 @@ const ManuscriptMetadata = ({
startExpanded
transparent
>
<Text mb={1} mt={1}>
<Text mb={1} mt={1} whiteSpace="pre-wrap">
{abstract}
</Text>
</ContextualBox>
......
......@@ -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">
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment