Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Fix subdued text in transaction form

Zach Gollwitzera1d64d6c2ecb
diff --git a/app/views/transactions/_form.html.erb b/app/views/transactions/_form.html.erb
index 733af700..4132d3fd 100644
--- a/app/views/transactions/_form.html.erb
+++ b/app/views/transactions/_form.html.erb
@@ -1,6 +1,6 @@
<%# locals: (entry:, income_categories:, expense_categories:) %>
-<%= styled_form_with model: entry, url: transactions_path, class: "space-y-4 text-subdued", data: { controller: "transaction-form" } do |f| %>
+<%= styled_form_with model: entry, url: transactions_path, class: "space-y-4", data: { controller: "transaction-form" } do |f| %>
<% if entry.errors.any? %>
<%= render "shared/form_errors", model: entry %>
<% end %>
@@ -12,7 +12,7 @@
<%= f.hidden_field :entryable_type, value: "Transaction" %>
</section>
- <section class="space-y-2 overflow-hidden">
+ <section class="space-y-2">
<%= f.text_field :name, label: t(".description"), placeholder: t(".description_placeholder"), required: true %>
<% if @entry.account_id %>