Skip to content

Commit

Permalink
fix: Timeline description alignment (#10586)
Browse files Browse the repository at this point in the history
  • Loading branch information
kewitz committed Aug 1, 2024
1 parent 18109fa commit 6c2f55d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/dashboard/sections/overview/TimelineItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ const TimelineItem = ({ activity, openExpense }: ActivityListItemProps) => {
<Skeleton className="h-4 w-80" />
) : (
<div className="flex min-w-0 flex-1 flex-col justify-between sm:flex-row sm:gap-1.5 sm:pt-1">
<div className="leading-6 text-foreground">{description}</div>

<div className="flex items-baseline gap-1 leading-6 text-foreground">{description}</div>
<div className="flex items-center self-start whitespace-nowrap leading-6 text-muted-foreground">
{isLastWeek ? (
dayjs(activity.createdAt).fromNow()
Expand Down

0 comments on commit 6c2f55d

Please sign in to comment.