How to put sidebar / filters on top of the ActiveAdmin index list

Viewed 1735

In Active Admin the sidebar is taking up too much space which interferes with data-dense tables.

Is there a simple way to move it on the top of the table?

2 Answers

enter image description here

active_admin.js.coffee

$(document).ready ->
  $("#new_q ").appendTo '.table_tools'
  $('#new_q > div').each ->
    $('#new_q > div').replaceWith ->
      '<span>' + @innerHTML + '</span>'
     $(".sidebar").hide()
     $("#main_content").css("margin-right": "10px")
    return

  return
Related