Standardize corners, backgrounds, and borders (#2271)

* Create shared ruler view

* Use collection rendering/spacer templates for rules, and new shared_ruler

* Use shared ruler for all the places a ruler is used

* Use shared ruler for imports and balance sheet

* Fix brakeman by using a static partial with a defined collection

* Standardize & improve a bunch of corners, fix some backgrounds, fix merchants for dark mode

* Update balance sheet

* misc cleanup

* Fix import table

* Remove middot
This commit is contained in:
Alex Hatzenbuhler
2025-05-21 09:28:56 -05:00
committed by GitHub
parent 3d2213b760
commit 8070986763
13 changed files with 57 additions and 61 deletions

View File

@@ -7,8 +7,8 @@
<p><%= categories.count %></p>
</div>
<div class="shadow-border-xs rounded-md bg-container">
<div class="overflow-hidden rounded-md">
<div class="shadow-border-xs rounded-lg bg-container">
<div class="overflow-hidden rounded-lg">
<% Category::Group.for(categories).each_with_index do |group, idx| %>
<%= render group.category %>

View File

@@ -22,7 +22,7 @@
</div>
</header>
<div class="bg-container shadow-border-xs rounded-xl p-4">
<div class="bg-container rounded-xl shadow-border-xs p-4">
<% if @categories.any? %>
<div class="space-y-4">
<% if @categories.incomes.any? %>