Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Fix value wrapping on account balance in sidebar (#1922)

Zach Gollwitzere771c8c1df0a
diff --git a/app/views/accounts/_accountable_group.html.erb b/app/views/accounts/_accountable_group.html.erb
index 008cc4b1..b240a557 100644
--- a/app/views/accounts/_accountable_group.html.erb
+++ b/app/views/accounts/_accountable_group.html.erb
@@ -28,7 +28,7 @@
</div>
<div class="ml-auto text-right grow h-10">
- <%= tag.p format_money(account.balance_money), class: "text-sm font-medium text-primary" %>
+ <%= tag.p format_money(account.balance_money), class: "text-sm font-medium text-primary whitespace-nowrap" %>
<%= turbo_frame_tag dom_id(account, :sparkline), src: sparkline_account_path(account), loading: "lazy" do %>
<div class="flex items-center w-8 h-5 ml-auto">