From ace73b536a52c1f6d75576fcaff5d38c24e7fa95 Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Sun, 20 Oct 2024 11:56:14 -0300 Subject: [PATCH] fix: item's amount is right aligned on mobile --- app/templates/transactions/fragments/item.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/templates/transactions/fragments/item.html b/app/templates/transactions/fragments/item.html index 90d1296..88eb79d 100644 --- a/app/templates/transactions/fragments/item.html +++ b/app/templates/transactions/fragments/item.html @@ -72,8 +72,7 @@ :prefix="transaction.account.currency.prefix" :suffix="transaction.account.currency.suffix" :decimal_places="transaction.account.currency.decimal_places" - color="{% if transaction.type == "EX" %}red{% else %}green{% endif %}" - text-end> + color="{% if transaction.type == "EX" %}red{% else %}green{% endif %}"> {# Exchange Rate#} {% with exchanged=transaction.exchanged_amount %} {% if exchanged %} @@ -82,8 +81,7 @@ :prefix="exchanged.prefix" :suffix="exchanged.suffix" :decimal_places="exchanged.decimal_places" - color="grey" - text-end> + color="grey"> {% endif %} {% endwith %}
{{ transaction.account.name }}