mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 07:25:19 +02:00
UI Fixes (#2276)
* Use rounded-full on budget allocation bar * Fix backgrounds when balance sheet groups are open * Add rulers between accounts and classification groups in balance sheet and account groups views.
This commit is contained in:
parent
2fbd6cbc5d
commit
a71b62575c
3 changed files with 24 additions and 8 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue