Closed jamesosb closed 7 years ago
New install today Rails 5.1.
Getting the following error on first-time load: Undefined variable: "$max-width".
Undefined variable: "$max-width".
Extracted source (around line #2): .article { max-width: $max-width; font-family: $Merriweather; line-height: 1.5em; color: $black;
Sass is installed. Is this not declared?
Seem to have resolved by removing 'requires' from application.scss - require and @import in scss don't play nicely.
/* *= require_tree . *= require jquery-ui *= require_self
New install today Rails 5.1.
Getting the following error on first-time load:
Undefined variable: "$max-width".
Sass is installed. Is this not declared?