Skip to content

Commit

Permalink
fix: team cards (#626)
Browse files Browse the repository at this point in the history
Co-authored-by: Patrícia Dias <patricia@Patricias-MBP.Home>
  • Loading branch information
patricia-mdias and Patrícia Dias authored Nov 28, 2022
1 parent 2113e20 commit c96ed24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ const CardMember = React.memo<CardBodyProps>(
zIndex: 1,
}}
/>

<Flex align="center" gap="8">
<StyledMemberTitle>
{`${member.user.firstName} ${member.user.lastName}`}
Expand Down Expand Up @@ -109,7 +108,7 @@ const CardMember = React.memo<CardBodyProps>(
</Flex>
)}
{!isTeamMemberOrStakeholder && (
<Flex align="center" css={{ width: '23%' }} gap="8" justify="center">
<Flex align="center" css={{ width: '35%' }} gap="8" justify="end">
<ConfigurationSettings
handleCheckedChange={handleSelectFunction}
isChecked={member.isNewJoiner}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const CardBody = React.memo<CardBodyProps>(({ userId, team }) => {
</Flex>

<Flex align="center" css={{ justifyContent: 'start', width: '$683' }} gap="8">
<Flex align="center" css={{ width: '$147' }}>
<Flex align="center" css={{ width: '$160' }}>
<Text color="primary300" size="sm">
Members
</Text>
Expand All @@ -99,7 +99,7 @@ const CardBody = React.memo<CardBodyProps>(({ userId, team }) => {
/>

<Flex align="center" css={{ ml: '$40', alignItems: 'center' }} gap="8">
<Flex align="center" css={{ width: '$147' }}>
<Flex align="center" css={{ width: '$160' }}>
<Text color="primary300" css={{ mr: '$2' }} size="sm">
Team admin
</Text>
Expand Down

0 comments on commit c96ed24

Please sign in to comment.