mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 15:35:22 +02:00
Use shared ruler for imports and balance sheet
This commit is contained in:
parent
3ec8649166
commit
2f11615bec
3 changed files with 3 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
<div id="<%= dom_id import %>" class="flex items-center justify-between mx-4 py-4 border-b last:border-b-0 border-alpha-black-50">
|
<div id="<%= dom_id import %>" class="flex items-center justify-between mx-4 py-4">
|
||||||
|
|
||||||
<div class="flex items-center gap-2 mb-1">
|
<div class="flex items-center gap-2 mb-1">
|
||||||
<%= link_to import_path(import), class: "text-sm text-primary hover:underline" do %>
|
<%= link_to import_path(import), class: "text-sm text-primary hover:underline" do %>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<h2 class="uppercase px-4 py-2 text-secondary text-xs"><%= t(".imports") %> · <%= @imports.size %></h2>
|
<h2 class="uppercase px-4 py-2 text-secondary text-xs"><%= t(".imports") %> · <%= @imports.size %></h2>
|
||||||
|
|
||||||
<div class="border border-alpha-black-100 rounded-lg bg-container shadow-xs">
|
<div class="border border-alpha-black-100 rounded-lg bg-container shadow-xs">
|
||||||
<%= render partial: "imports/import", collection: @imports.ordered %>
|
<%= render partial: "imports/import", collection: @imports.ordered, spacer_template: "shared/ruler" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -88,9 +88,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% if idx < account_group.accounts.size - 1 %>
|
<% if idx < account_group.accounts.size - 1 %>
|
||||||
<div class="pl-[84px] pr-40">
|
<%= render "shared/ruler", classes: "ml-12 mr-4" %>
|
||||||
<div class="w-full border-subdued border-b"></div>
|
|
||||||
</div>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue