Skip to content

Commit

Permalink
fix: ensure consistent text baseline alignment in groups card on home…
Browse files Browse the repository at this point in the history
… screen
  • Loading branch information
paulschreiber committed Nov 21, 2023
1 parent 5a80eb7 commit 4117f54
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/group/components/GroupsHomeCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,12 @@ const GroupItem = ({ group, index }) => {
borderTop: index && `1px solid ${theme.palette.gray.lite1}`, // skip first item
}}
>
<Stack direction="row">
<Typography component="span">
<Link component={RouterLink} to={`/groups/${group.slug}`}>
{group.name}
</Link>
<Typography sx={{ ml: 1 }}>
({t(`group.role_${role.toLowerCase()}`)})
</Typography>
</Stack>
</Link>{' '}
({t(`group.role_${role.toLowerCase()}`)})
</Typography>
{!isApproved && (
<Typography color="text.secondary">
{t('group.home_pending_message')}
Expand Down

0 comments on commit 4117f54

Please sign in to comment.