mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 20:14:08 +00:00
fix: fix tests
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
is_sub = level == :subcategory
|
||||
%>
|
||||
|
||||
<div class="grid grid-cols-4 items-center text-secondary text-sm py-3 px-4 lg:px-6 <%= is_sub ? "pl-7 lg:pl-9" : "" %>">
|
||||
<div data-category="category-<%= item[:category_id] %>" class="grid grid-cols-4 items-center text-secondary text-sm py-3 px-4 lg:px-6 <%= is_sub ? "pl-7 lg:pl-9" : "" %>">
|
||||
<div class="col-span-2 flex items-center gap-2">
|
||||
<% if is_sub %>
|
||||
<div class="text-subdued">
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<% if trends_data.any? %>
|
||||
<div class="bg-container-inset rounded-xl p-1 overflow-x-auto">
|
||||
<div class="w-max sm:w-full">
|
||||
<div class="grid grid-cols-5 items-center uppercase text-xs font-medium text-secondary px-4 py-2">
|
||||
<div role="columnheader" class="grid grid-cols-5 items-center uppercase text-xs font-medium text-secondary px-4 py-2">
|
||||
<div class="font-medium text-secondary"><%= t("reports.trends.month") %></div>
|
||||
<div class="text-right font-medium text-secondary"><%= t("reports.trends.income") %></div>
|
||||
<div class="text-right font-medium text-secondary"><%= t("reports.trends.expenses") %></div>
|
||||
|
||||
Reference in New Issue
Block a user