Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

fix: Adjust padding in trends section

Alessio Cappae672929157e3
diff --git a/app/views/reports/_trends_insights.html.erb b/app/views/reports/_trends_insights.html.erb
index 603a148a49..dcd1fa98f3 100644
--- a/app/views/reports/_trends_insights.html.erb
+++ b/app/views/reports/_trends_insights.html.erb
@@ -17,8 +17,8 @@
</div>
<div class="bg-container rounded-lg shadow-border-xs">
<% trends_data.each_with_index do |trend, idx| %>
- <div class="grid grid-cols-6 sm:grid-cols-10 items-center text-secondary text-sm p-3">
- <div class="col-span-2 sm:col-span-2 flex items-center gap-2 px-2 <%= trend[:is_current_month] ? "font-medium" : "" %>">
+ <div class="grid grid-cols-6 sm:grid-cols-10 items-center text-secondary text-sm py-3 px-4 lg:px-6">
+ <div class="col-span-2 sm:col-span-2 flex items-center gap-2 <%= trend[:is_current_month] ? "font-medium" : "" %>">
<%= trend[:month] %>
<% if trend[:is_current_month] %>
<span class="text-xs text-tertiary">(<%= t("reports.trends.current") %>)</span>