I am using the github version of active_Admin as can be seen from my gemfile:
gem 'activeadmin', github: 'activeadmin'
I am trying to change the column width of a column in an index table. According to the documentation found here, it should be done like this:
column :notes, min_width: "400px"
column :notes, max_width: "800px"
However, the code above is not working. The column is 100px. How do I get this to work?
https://github.com/activeadmin/activeadmin/issues/4091
Unfortunately max_width only exists on "pages" (i.e. register_page), and not on "resources" (i.e. register). Instead you can do this:
.col-<column_name> { max-width: 200px; }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With