Rails 3.1 + ActiveAdmin GEM css / stylesheet conflict?

I need to miss something very simple, but I could not find anyone else with this problem. Basically, Rails 3.1 combines all .css files into application.css. After installing ActiveAdmin, ActiveAdmin CSS also merges into application.css, causes a conflict and cancels my stylesheet.

What am I missing here?

+4
source share
2 answers

I removed * = require_tree. from application.css and added each other css separately. Not sure if this is the best way, but it works.

+7
source

I solved this by adding the generated active_admin css and js to the provider directory.

  • provider / assets / style sheets / active _admin.css.scss
  • seller / assets / active_admin.js
+3
source

Source: https://habr.com/ru/post/1384261/


All Articles