activeadmin: Dashboard table should not have a static number of sections per row

Currently the dashboard table groups sections into rows of three (https://github.com/gregbell/active_admin/blob/master/lib/active_admin/views/pages/dashboard.rb#L25).

This behaviour should be changed to allow more than three sections per row (or preferably have each section in a div and float them) as this can look incredibly awkward (see below).

four small sections

About this issue

  • Original URL
  • State: closed
  • Created 13 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

I have patched the Dashboard layout locally.

You have a :column option to specify how many columns you want to have. And there is a :colspan and :rowspan, and :style option on the sections too. Doing custom layouts is much easier now. 😃

I would try to make my PR asap.