Skip to content
Snippets Groups Projects
Commit 22ebf263 authored by Sinzeanu Demetriad's avatar Sinzeanu Demetriad
Browse files

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

deleted vertical live, numbers have the right size, superscript indicator moved at the end of name
and labels
parent 2f517352
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 = ({ ...@@ -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