Skip to content
Snippets Groups Projects
Commit 637a6cdd authored by Andrei Cioromila's avatar Andrei Cioromila
Browse files

Merge branch 'develop' of https://gitlab.coko.foundation/xpub/xpub-faraday into develop

parents 90b84778 5acc4404
No related branches found
No related tags found
1 merge request!110Sprint 21 Features
...@@ -15,10 +15,10 @@ const AuthorTag = ({ ...@@ -15,10 +15,10 @@ const AuthorTag = ({
}, },
}) => ( }) => (
<Root> <Root>
{affiliationNumber && <Superscript>{affiliationNumber}</Superscript>}
<Text>{`${firstName} ${lastName}`}</Text> <Text>{`${firstName} ${lastName}`}</Text>
{isSubmitting && <Tag>SA</Tag>} {isSubmitting && <Tag>SA</Tag>}
{isCorresponding && <Tag>CA</Tag>} {isCorresponding && <Tag>CA</Tag>}
{affiliationNumber && <Superscript>{affiliationNumber}</Superscript>}
</Root> </Root>
) )
......
...@@ -82,8 +82,8 @@ const AuthorTagList = ({ ...@@ -82,8 +82,8 @@ const AuthorTagList = ({
<AffiliationRow> <AffiliationRow>
{affiliationList.map((a, i) => ( {affiliationList.map((a, i) => (
<Item flex={1} key={a}> <Item flex={1} key={a}>
<Superscript>{i + 1}</Superscript>
<Text>{a}</Text> <Text>{a}</Text>
<Superscript>{i + 1}</Superscript>
</Item> </Item>
))} ))}
</AffiliationRow> </AffiliationRow>
...@@ -120,7 +120,6 @@ const Root = styled.div` ...@@ -120,7 +120,6 @@ const Root = styled.div`
font-family: ${th('fontReading')}; font-family: ${th('fontReading')};
` `
const AffiliationRow = styled(Row)` const AffiliationRow = styled(Row)`
border-left: 1px solid ${th('colorBackgroundHue')};
padding-left: ${th('gridUnit')}; padding-left: ${th('gridUnit')};
flex-direction: column; flex-direction: column;
` `
......
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