Skip to content

Commit

Permalink
frontend: allow last event to be placed horizontally with other compo…
Browse files Browse the repository at this point in the history
…nents in a card
  • Loading branch information
miguelmolina95 committed Sep 25, 2024
1 parent 18fcbb2 commit 22358f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/workflows/projectCatalog/src/details/helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,16 @@ const LinkText = ({ text, link }: { text: string; link?: string }) => {

const LastEvent = ({ time, ...props }: { time: number }) => {
return time ? (
<>
<Grid item container alignItems="center" wrap="nowrap" columnSpacing={1}>
<Grid item>
<FontAwesomeIcon icon={faClock} />
</Grid>
<Grid item>
<Typography variant="body4">
<Typography variant="body4" noWrap>
<EventTime date={time} {...props} /> ago
</Typography>
</Grid>
</>
</Grid>
) : null;
};

Expand Down

0 comments on commit 22358f6

Please sign in to comment.