Skip to content

Commit

Permalink
fix: add updated label to project card
Browse files Browse the repository at this point in the history
  • Loading branch information
dmijatovic committed Jul 26, 2022
1 parent c03142f commit 4637890
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/components/projects/ProjectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default function ProjectCard({slug, title, subtitle, image_id, updated_at
</p>
<div className="flex justify-between text-sm">
<span className="last-update">
{getTimeAgoSince(today,updated_at)}
Updated {getTimeAgoSince(today,updated_at)}
</span>
<div className="flex items-start justify-center">
{renderStatus()}
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/projects/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function ProjectsIndexPage({projects=[],count,page,rows,search}:P
// use media query hook for small screen logic
const smallScreen = useMediaQuery('(max-width:600px)')
// adjust grid min width for mobile
const minWidth = smallScreen ? '18rem' : '26rem'
const minWidth = smallScreen ? '18rem' : '29rem'

function handleChangePage(
event: MouseEvent<HTMLButtonElement> | null,
Expand Down

0 comments on commit 4637890

Please sign in to comment.