mirror of
https://github.com/we-promise/sure.git
synced 2026-04-20 12:34:12 +00:00
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:
committed by
GitHub
parent
3d2213b760
commit
8070986763
@@ -29,7 +29,7 @@
|
||||
</p>
|
||||
</div>
|
||||
<% end %>
|
||||
<div class="bg-container shadow-border-xs rounded-xl p-4">
|
||||
<div class="bg-container rounded-xl shadow-border-xs p-4">
|
||||
<% if @rules.any? %>
|
||||
<div class="bg-container-inset rounded-xl">
|
||||
<div class="flex justify-between px-4 py-2 text-xs uppercase">
|
||||
@@ -58,7 +58,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="p-1">
|
||||
<div class="flex flex-col bg-container rounded-xl shadow-border-xs first_child:rounded-t-xl last_child:rounded-b-xl">
|
||||
<div class="flex flex-col bg-container rounded-lg shadow-border-xs">
|
||||
<%= render partial: "rule", collection: @rules, spacer_template: "shared/ruler" %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user