diff --git a/packages/component-faraday-ui/src/Text.js b/packages/component-faraday-ui/src/Text.js index a6a03710767096dd8d5d2b052eae7d1a04870a3c..6e7d8887c44f9599c32aedeb3d5cdb28266b4c91 100644 --- a/packages/component-faraday-ui/src/Text.js +++ b/packages/component-faraday-ui/src/Text.js @@ -56,6 +56,7 @@ const StyledText = styled.span` display: ${props => get(props, 'display', 'inline-block')}; font-style: ${props => get(props, 'fontStyle', 'normal')}; text-align: ${props => get(props, 'align', 'start')}; + white-space: ${props => get(props, 'whiteSpace', 'initial')}; ${fontSize}; ${textHelper}; diff --git a/packages/component-faraday-ui/src/manuscriptDetails/ManuscriptDetailsTop.js b/packages/component-faraday-ui/src/manuscriptDetails/ManuscriptDetailsTop.js index b993e23453fce794a3d28779faf0c3b3cdf7e150..481442200b0eabad0c3f605fb0f5045d3e112131 100644 --- a/packages/component-faraday-ui/src/manuscriptDetails/ManuscriptDetailsTop.js +++ b/packages/component-faraday-ui/src/manuscriptDetails/ManuscriptDetailsTop.js @@ -66,7 +66,11 @@ const ManuscriptDetailsTop = ({ <IconButton icon="download" iconSize={2} mr={3} secondary /> </DownloadZipFiles> <DateParser durationThreshold={0} timestamp={fragment.submitted || ''}> - {timestamp => <Text mr={1}>Updated on {timestamp}</Text>} + {timestamp => ( + <Text mr={1} whiteSpace="nowrap"> + Updated on {timestamp} + </Text> + )} </DateParser> <ManuscriptVersion collection={collection} diff --git a/packages/component-faraday-ui/src/manuscriptDetails/ManuscriptEicDecision.js b/packages/component-faraday-ui/src/manuscriptDetails/ManuscriptEicDecision.js index cee5fa1e74df06ae8f565ccda75718480f87b286..873266e25765b565481b05b1bc34dec6eae5180f 100644 --- a/packages/component-faraday-ui/src/manuscriptDetails/ManuscriptEicDecision.js +++ b/packages/component-faraday-ui/src/manuscriptDetails/ManuscriptEicDecision.js @@ -18,7 +18,7 @@ const ManuscriptEicDecision = ({ options = [], ...rest }) => ( - <ContextualBox label="Your Editorial Decision" startExpanded {...rest}> + <ContextualBox label="Your Editorial Decision" {...rest}> <Root> <Row justify="flex-start"> <Item flex={0} vertical>