Skip to content

Commit

Permalink
fix(PWA): show dates first in expense claims for consistency with lea…
Browse files Browse the repository at this point in the history
…ve items (backport #2555) (#2556)

* fix(PWA): show dates first in expense claims for consistency with leave items (#2555)

(cherry picked from commit 286e97d)

* fix: add whitespace-nowrap on the correct element

---------

Co-authored-by: Rucha Mahabal <[email protected]>
  • Loading branch information
mergify[bot] and ruchamahabal authored Dec 27, 2024
1 parent cc11f89 commit df4adc5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions frontend/src/components/ExpenseClaimItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@
{{ claimTitle }}
</div>
<div class="text-xs font-normal text-gray-500">
<span>
{{ formatCurrency(props.doc.total_claimed_amount, currency) }}
</span>
<span>{{ claimDates }}</span>
<span class="whitespace-pre"> &middot; </span>
<span class="whitespace-nowrap">
{{ claimDates }}
{{ formatCurrency(props.doc.total_claimed_amount, currency) }}
</span>
</div>
</div>
Expand Down

0 comments on commit df4adc5

Please sign in to comment.