From c24ae1762f0659df709a99d3735fc629a293f127 Mon Sep 17 00:00:00 2001 From: Zach Gollwitzer Date: Fri, 2 May 2025 08:20:31 -0400 Subject: [PATCH] Fix account value cutoff on mobile --- app/views/accounts/show/_chart.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/accounts/show/_chart.html.erb b/app/views/accounts/show/_chart.html.erb index c94adeb3..1661554c 100644 --- a/app/views/accounts/show/_chart.html.erb +++ b/app/views/accounts/show/_chart.html.erb @@ -4,14 +4,14 @@ <% default_value_title = account.asset? ? t(".balance") : t(".owed") %>
-
-
+
+
<%= tag.p title || default_value_title, class: "text-sm font-medium text-secondary" %> <%= tooltip %>
- <%= tag.p format_money(account.balance_money), class: "text-primary text-3xl font-medium" %> + <%= tag.p format_money(account.balance_money), class: "text-primary text-3xl font-medium truncate" %>
<%= form_with url: request.path, method: :get, data: { controller: "auto-submit-form" } do |form| %>