Skip to content

Firefly III: a personal finances manager

Fix style

James Coleb60a3be34bd3
diff --git a/resources/views/list/groups.twig b/resources/views/list/groups.twig
index bf74139cf7..edb6cf9ffe 100644
--- a/resources/views/list/groups.twig
+++ b/resources/views/list/groups.twig
@@ -94,12 +94,12 @@
</tr>
{% endif %}
{% for index, transaction in group.transactions %}
- {% set style="text-align:right;" %}
+ {% set style="" %}
{% if group.transactions|length == loop.index and group.count > 1 %}
- {% set style="text-align:right;border-bottom:1px #aaa solid;" %}
+ {% set style="border-bottom:1px #aaa solid;" %}
{% endif %}
<tr data-date="{{ transaction.date.format('Y-m-d') }}" data-count="{{ group.count }}" data-id="{{ group.id }}">
- <td style=" {{ style|raw }}" class="hidden-xs">
+ <td style=" {{ style|raw }};text-align:right;" class="hidden-xs">
{% if transaction.transaction_type_type == 'Withdrawal' %}
<span class="object-handle fa fa-long-arrow-left fa-fw" title="{{ trans('firefly.Withdrawal') }}"></span>
{% endif %}