Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

fix(transactions): update dialog content class for new transaction view (#1693)

thomasbaker901025143e7e35e7e6e
diff --git a/app/views/transactions/new.html.erb b/app/views/transactions/new.html.erb
index 2e5573ac4d..b2273188b4 100644
--- a/app/views/transactions/new.html.erb
+++ b/app/views/transactions/new.html.erb
@@ -1,4 +1,4 @@
-<%= render DS::Dialog.new(scrollable: false) do |dialog| %>
+<%= render DS::Dialog.new(scrollable: false, content_class: "lg:max-h-none lg:overflow-y-auto") do |dialog| %>
<% dialog.with_header(title: "New transaction") %>
<% dialog.with_body do %>
<%= render "form", entry: @entry, categories: @categories %>