diff --git a/app/views/accounts/show/_activity.html.erb b/app/views/accounts/show/_activity.html.erb index ab65dd4c..f82e4040 100644 --- a/app/views/accounts/show/_activity.html.erb +++ b/app/views/accounts/show/_activity.html.erb @@ -70,8 +70,8 @@ data: { action: "bulk-select#togglePageSelection" } %>

<%= t(".date") %>

- <%= tag.p t(".amount"), class: "col-span-2 justify-self-end" %> - <%= tag.p t(".balance"), class: "col-span-2 justify-self-end" %> + <%= tag.p t(".amount"), class: "col-span-4 md:col-span-2 justify-self-end" %> + <%= tag.p t(".balance"), class: "col-span-full md:col-span-2 justify-self-end" %>
diff --git a/app/views/credit_cards/_overview.html.erb b/app/views/credit_cards/_overview.html.erb index fec910e0..676a9571 100644 --- a/app/views/credit_cards/_overview.html.erb +++ b/app/views/credit_cards/_overview.html.erb @@ -1,6 +1,6 @@ <%# locals: (account:) %> -
+
<%= summary_card title: t(".amount_owed") do %> <%= format_money(account.balance_money) %> <% end %> diff --git a/app/views/entries/_selection_bar.html.erb b/app/views/entries/_selection_bar.html.erb index 1c633bde..96759157 100644 --- a/app/views/entries/_selection_bar.html.erb +++ b/app/views/entries/_selection_bar.html.erb @@ -1,4 +1,4 @@ -
+
<%= check_box_tag "entry_selection", 1, true, class: "checkbox checkbox--dark", data: { action: "bulk-select#deselectAll" } %> diff --git a/app/views/loans/_overview.html.erb b/app/views/loans/_overview.html.erb index e1649583..bf3f2704 100644 --- a/app/views/loans/_overview.html.erb +++ b/app/views/loans/_overview.html.erb @@ -1,6 +1,6 @@ <%# locals: (account:) %> -
+
<%= summary_card title: t(".original_principal") do %> <%= format_money account.loan.original_balance %> <% end %> diff --git a/app/views/properties/_overview.html.erb b/app/views/properties/_overview.html.erb index 3916fb05..83418508 100644 --- a/app/views/properties/_overview.html.erb +++ b/app/views/properties/_overview.html.erb @@ -1,6 +1,6 @@ <%# locals: (account:) %> -
+
<%= summary_card title: t(".market_value") do %> <%= format_money(account.balance_money) %> <% end %> diff --git a/app/views/valuations/_valuation.html.erb b/app/views/valuations/_valuation.html.erb index 8d93f1e1..7328709e 100644 --- a/app/views/valuations/_valuation.html.erb +++ b/app/views/valuations/_valuation.html.erb @@ -25,7 +25,7 @@
-
+
<% if balance_trend&.trend %> <%= tag.span format_money(balance_trend.trend.value), style: "color: #{balance_trend.trend.color}" %> <% else %> @@ -33,8 +33,8 @@ <% end %>
-
- <%= tag.p format_money(entry.amount_money), class: "font-medium text-sm text-primary" %> +
+ <%= tag.p format_money(entry.amount_money), class: "font-medium text-xs md:text-sm text-primary" %>
<% end %> diff --git a/app/views/vehicles/_overview.html.erb b/app/views/vehicles/_overview.html.erb index e8592533..cfd6a461 100644 --- a/app/views/vehicles/_overview.html.erb +++ b/app/views/vehicles/_overview.html.erb @@ -1,6 +1,6 @@ <%# locals: (account:) %> -
+
<%= summary_card title: t(".make_model") do %> <%= [account.vehicle.make, account.vehicle.model].compact.join(" ").presence || t(".unknown") %> <% end %>