fix: remove fixed height on budget chart to fill all the available space (#1124)

This commit is contained in:
Alessio Cappa
2026-03-05 09:26:33 +01:00
committed by GitHub
parent dde74fe867
commit ad318ecdb9

View File

@@ -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 !@budget.initialized? && @source_budget.present? %>
<%= render "budgets/copy_previous_prompt", budget: @budget, source_budget: @source_budget %>
<% elsif @budget.initialized? && @budget.available_to_allocate.negative? %>