opoloo / lines-engine

Lines is a customizable blog framework for Rails. It aims at making publishing simple and beautiful.
http://lines.opoloo.com
GNU Lesser General Public License v3.0
216 stars 102 forks source link

Undefined variable: "$max-width". #11

Closed jamesosb closed 7 years ago

jamesosb commented 7 years ago

New install today Rails 5.1.

Getting the following error on first-time load: 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?

jamesosb commented 7 years ago

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