Possible collision with rails_admin bootstrap sass #433

alanjcfs opened this Issue Mar 27, 2013 · 5 comments


None yet
4 participants

alanjcfs commented Mar 27, 2013

From looking through Google Chrome, it appears that reset.css was overriding the custom-bootstrap.css.scss that I had created.

This is what I have in my custom-bootstrap.css.scss and application.css: https://gist.github.com/alanjcfs/bc885707c90540edc8df

I fixed it by disabling *= require tree from application.css and manually including the desired scss files.

geniass commented Apr 3, 2013

I had the same problem, where reset.css was overriding bootstrap. For me

*= require surveyor_all
 *= require bootstrap
 *= require_self
 *= require_tree .


The exact same issue applies to surveyor_all.js. I remove require_tree . in both application.css and application.js, effectively removing surveyor_all.js/.css. Will it cause problem?


alanjcfs commented Sep 22, 2014

It should be fine if you include surveyor_all as part of the assets to be compiled in Rails in production. Otherwise, certain things won't work.

Doesn't including surveyor_all include reset.css, which is the issue that started this whole thread?

I found the inclusion of reset.css within surveyor to be annoying. It's almost certain that reset.css will be either included in the front-end css framework of choice or in app/assets/stylesheets. I wanted files included in tree to be able to override bootstrap, but with tree following bootstrap in the requires, surveyor's reset.css messes with bootstrap. All headers are font-size 13 for example because of font-size: 100%;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment