Skip to content
Snippets Groups Projects
Commit 2c5fc62a authored by Alexandru Munteanu's avatar Alexandru Munteanu
Browse files

fix(text): fix white space

parent 994d7b7e
No related branches found
No related tags found
1 merge request!43Sprint #19
......@@ -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};
......
......@@ -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}
......
......@@ -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>
......
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