ruby on rails - ActiveAdmin and additional custom CSS files -


where can put custom css files customize activeadmin css?

i see in active_admin.rb there following line:

config.register_stylesheet 'active_admin.css' 

but can't understand file has go. want add custom styles aa's default ones

lets have 2 css files, highlight.css , select2.css

in config/initializers/active_admin.rb, add this:

config.register_stylesheet 'highlight.min.css' config.register_stylesheet 'select2.css' 

note:

highlight.css , select2.css should inside/under app/assets/stylesheets


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -