Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Susy Settings - Background grid throws errors for math:static #332

Closed
patrickbjohnson opened this issue Apr 18, 2014 · 1 comment
Closed

Comments

@patrickbjohnson
Copy link

Trying to update some really old files and starting with sass/susy layout for the CSS.

I've started with the new Susy 2.0 syntax but noticed that I can't use the grid feature when declaring math:static

Error:
"Syntax error: Invalid null operation: "null times 1.25".\A on line 169 of /Users/pjohnson/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/susy-2.1.1/sass/susy/language/susy/_background.scss, in background-grid'\A from line 19 of /Users/pjohnson/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/susy-2.1.1/sass/susy/language/susy/_background.scss, inshow-grid'\A from line 24 of /Users/pjohnson/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/susy-2.1.1/sass/susy/language/susy/_container.scss, in `container'\A from line 2 of /Users/pjohnson/Desktop/_code/enk-shows2/sass/_container.scss\A from line 10 of /Users/pjohnson/Desktop/_code/enk-shows2/sass/screen.scss"

Literally, the only files that exist are the _base.scss and the _container.scss file. The container file only has @include container with the container class.

Yet, when I switch the math to fluid, the grid background works.

@mirisuzanne
Copy link
Member

The error message for this has been fixed in the master branch, but not released yet. The issue is that you need to define the column-width setting in order to use static math.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants