add date to project give record list; don't wrap icon & amount

This commit is contained in:
2024-01-26 16:10:14 -07:00
parent 88f869d600
commit 2d95a35905

View File

@@ -214,7 +214,7 @@
) )
}} }}
</span> </span>
<span v-if="offer.amount"> <span v-if="offer.amount" class="whitespace-nowrap">
<fa <fa
:icon="iconForUnitCode(offer.unit)" :icon="iconForUnitCode(offer.unit)"
class="fa-fw text-slate-400" class="fa-fw text-slate-400"
@@ -272,13 +272,17 @@
) )
}} }}
</span> </span>
<span v-if="give.amount"> <span v-if="give.amount" class="whitespace-nowrap">
<fa <fa
:icon="iconForUnitCode(give.unit)" :icon="iconForUnitCode(give.unit)"
class="fa-fw text-slate-400" class="fa-fw text-slate-400"
/>{{ give.amount }} />{{ give.amount }}
</span> </span>
</div> </div>
<div class="text-slate-500">
<fa icon="calendar" class="fa-fw text-slate-400" />
{{ give.issuedAt?.substring(0, 10) }}
</div>
<div v-if="give.description" class="text-slate-500"> <div v-if="give.description" class="text-slate-500">
<fa icon="comment" class="fa-fw text-slate-400" /> <fa icon="comment" class="fa-fw text-slate-400" />
{{ give.description }} {{ give.description }}