The personal finance app for everyone (by everyone)
Ruby
fix: remove fixed height on budget chart to fill all the available space (#1124)
Alessio Cappaad318ecdb9ac
diff --git a/app/views/budgets/show.html.erb b/app/views/budgets/show.html.erbindex 8b810538e0..768cf7727c 100644--- a/app/views/budgets/show.html.erb+++ b/app/views/budgets/show.html.erb@@ -9,7 +9,7 @@<%# Top Section: Donut and Summary side by side %><div class="grid grid-cols-1 md:grid-cols-2 gap-4"><%# Budget Donut %>- <div class="h-[300px] bg-container rounded-xl shadow-border-xs p-8">+ <div class="min-h-[300px] bg-container rounded-xl shadow-border-xs p-8"><% if [email protected]? && @source_budget.present? %><%= render "budgets/copy_previous_prompt", budget: @budget, source_budget: @source_budget %><% elsif @budget.initialized? && @budget.available_to_allocate.negative? %>