Skip to content

Commit

Permalink
move margin on file input
Browse files Browse the repository at this point in the history
  • Loading branch information
skyporter committed Apr 25, 2024
1 parent 05fabee commit 6d73e0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/presenters/field/file_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def render_html(form, method, item_type, field_category, btn_label)
"#{method}_json",
input_defaults(options).reverse_merge(:rows => 1, 'data-field-type' => 'file')
),
'<div class="form-component">',
"<div class=\"mb-3 file-upload\" #{field_category} " \
'<div class="form-component mb-3">',
"<div class=\"file-upload\" #{field_category} " \
"id=\"fileupload_#{method}\" " \
"data-field=\"#{method}\" " \
"data-field-type=\"#{field.type}\" " \
Expand Down

0 comments on commit 6d73e0f

Please sign in to comment.