Skip to content

Commit

Permalink
Adjust resource_window_size width
Browse files Browse the repository at this point in the history
Make it a bit wider so it better fits long attribute fields.
  • Loading branch information
tvdeyen committed Sep 4, 2024
1 parent 64f03d6 commit 261c4dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/alchemy/resources_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module ResourcesHelper
#

def resource_window_size
@resource_window_size ||= "420x#{100 + resource_handler.attributes.length * 40}"
@resource_window_size ||= "480x#{100 + resource_handler.attributes.length * 40}"
end

def resource_instance_variable
Expand Down

0 comments on commit 261c4dc

Please sign in to comment.