My rails (with bootstrap-sass gem) application.css.scss looks like this:
/*
* ...boilerplate application.css.scss comments
*= require_tree .
*= require_self
*/
@import 'bootstrap'
.container-fixed {
margin: 0 auto;
max-width: 970px;
}
Viewing any page gives me a Sass:SyntaxError like this Invalid CSS after "...ort 'bootstrap'": expected selector or at-rule, was ".container-fixed {"
. I don't see a problem with the .container-fixed
snippet. Elsewhere I see that this error can be caused by a file imported before the line that Sass complains about. However, there is no other CSS in this project (apart from bootstrap itself). What am I doing wrong?