From b16857b040aeda2d94e8acbc9afc2936870c9efd Mon Sep 17 00:00:00 2001 From: Alessio Cappa <104093777+alessiocappa@users.noreply.github.com> Date: Sat, 15 Nov 2025 16:29:50 +0100 Subject: [PATCH] UI Improvements for Ouflows Section (#334) * feat: Improve categories list in outflows section * feat: align bg containers in home page sections * Revert "feat: align bg containers in home page sections" This reverts commit 62ad36f23e8a26d5959b15784a87f3ab833d608d. * Revert "feat: Improve categories list in outflows section" This reverts commit 4b6cb6684394ba5914c21f0b765fd05060a447d3. * feat: Improve categories list in outflows section * feat: align bg containers in home page sections * feat: reduce padding and align styling between outflows and assets sections * feat: add number of categories and translations * fix: Adjust Outflows header width for mobile --- .../pages/dashboard/_balance_sheet.html.erb | 6 ++--- .../pages/dashboard/_outflows_donut.html.erb | 24 +++++++++++++++---- config/locales/views/pages/en.yml | 3 +++ 3 files changed, 26 insertions(+), 7 deletions(-) diff --git a/app/views/pages/dashboard/_balance_sheet.html.erb b/app/views/pages/dashboard/_balance_sheet.html.erb index 5273e5031..af9ab3165 100644 --- a/app/views/pages/dashboard/_balance_sheet.html.erb +++ b/app/views/pages/dashboard/_balance_sheet.html.erb @@ -35,7 +35,7 @@ -
<%= t("pages.dashboard.outflows_donut.categories") %>·<%= outflows_data[:categories].count %>
+<%= t("pages.dashboard.outflows_donut.value") %>
+<%= t("pages.dashboard.outflows_donut.weight") %>
+