1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-08 06:55:21 +02:00

Use rounded-full on budget allocation bar

This commit is contained in:
hatz 2025-05-21 11:36:55 -05:00
parent 8070986763
commit 3eb60b0de3
No known key found for this signature in database

View file

@ -12,7 +12,7 @@
<div>
<div class="flex h-1.5 mb-3 gap-1">
<% budget.income_category_totals.each do |category_total| %>
<div class="h-full rounded-xs" style="background-color: <%= category_total.category.color %>; width: <%= category_total.weight %>%"></div>
<div class="h-full rounded-full" style="background-color: <%= category_total.category.color %>; width: <%= category_total.weight %>%"></div>
<% end %>
</div>
@ -38,7 +38,7 @@
<div>
<div class="flex h-1.5 mb-3 gap-1">
<% budget.expense_category_totals.each do |category_total| %>
<div class="h-full rounded-xs" style="background-color: <%= category_total.category.color %>; width: <%= category_total.weight %>%"></div>
<div class="h-full rounded-full" style="background-color: <%= category_total.category.color %>; width: <%= category_total.weight %>%"></div>
<% end %>
</div>