Move timestamp to same line
This commit is contained in:
parent
de20ee9fb9
commit
54b4f97a84
|
@ -275,7 +275,7 @@ function IncomeNotificationGroupItem(props: {
|
|||
)}
|
||||
<Row className={'items-center text-gray-500 sm:justify-start'}>
|
||||
<TrendingUpIcon className={'text-primary h-7 w-7'} />
|
||||
<div className={'flex-1 overflow-hidden pl-2 sm:flex'}>
|
||||
<div className={'flex truncate'}>
|
||||
<div
|
||||
onClick={() => setExpanded(!expanded)}
|
||||
className={'line-clamp-1 cursor-pointer pl-1 sm:pl-0'}
|
||||
|
@ -286,9 +286,9 @@ function IncomeNotificationGroupItem(props: {
|
|||
{'+' + formatMoney(totalIncome)}
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
<RelativeTimestamp time={notifications[0].createdTime} />
|
||||
</div>
|
||||
</div>
|
||||
</Row>
|
||||
<div>
|
||||
<div className={clsx('mt-1 md:text-base', expanded ? 'pl-4' : '')}>
|
||||
|
|
Loading…
Reference in New Issue
Block a user