Skip to content
Snippets Groups Projects
Commit 5acc4404 authored by Daniel Sandu's avatar Daniel Sandu
Browse files

Merge branch 'HIN-1028' into 'develop'

fix(AuthorTag/AuthorTagList): UI issues on Author & Affiliations on Manuscript Details page

See merge request !77
parents 34dbff04 22ebf263
No related branches found
No related tags found
2 merge requests!110Sprint 21 Features,!77fix(AuthorTag/AuthorTagList): UI issues on Author & Affiliations on Manuscript Details page
......@@ -15,10 +15,10 @@ const AuthorTag = ({
},
}) => (
<Root>
{affiliationNumber && <Superscript>{affiliationNumber}</Superscript>}
<Text>{`${firstName} ${lastName}`}</Text>
{isSubmitting && <Tag>SA</Tag>}
{isCorresponding && <Tag>CA</Tag>}
{affiliationNumber && <Superscript>{affiliationNumber}</Superscript>}
</Root>
)
......
......@@ -82,8 +82,8 @@ const AuthorTagList = ({
<AffiliationRow>
{affiliationList.map((a, i) => (
<Item flex={1} key={a}>
<Superscript>{i + 1}</Superscript>
<Text>{a}</Text>
<Superscript>{i + 1}</Superscript>
</Item>
))}
</AffiliationRow>
......@@ -120,7 +120,6 @@ const Root = styled.div`
font-family: ${th('fontReading')};
`
const AffiliationRow = styled(Row)`
border-left: 1px solid ${th('colorBackgroundHue')};
padding-left: ${th('gridUnit')};
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