Skip to content

Commit

Permalink
Adds spacing between checkbox + label & hint for boolean form fields
Browse files Browse the repository at this point in the history
  • Loading branch information
matyikriszta committed Jan 4, 2024
1 parent 6c30992 commit 5743d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/simple_form_bootstrap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
b.use :input, class: 'form-check-input', error_class: 'is-invalid', valid_class: 'is-valid'
b.use :label, class: 'form-check-label'
b.use :full_error, wrap_with: { tag: 'div', class: 'invalid-feedback' }
b.use :hint, wrap_with: { tag: 'small', class: 'form-text text-muted' }
b.use :hint, wrap_with: { tag: 'small', class: 'form-text text-muted ms-1' }
end

# vertical input for radio buttons and check boxes
Expand Down

0 comments on commit 5743d31

Please sign in to comment.