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

context-slice of 12 can not be determined based on grid-columns #663

Open
jenyckee opened this issue Oct 12, 2017 · 1 comment
Open

context-slice of 12 can not be determined based on grid-columns #663

jenyckee opened this issue Oct 12, 2017 · 1 comment

Comments

@jenyckee
Copy link

When doing
width: susy-span(10);
I get

Error in plugin 'sass'
Message:
    node_modules/susy/sass/susy/_utilities.scss
Error: [susy-normalize-columns] context-slice of `12` can not be determined based on grid-columns `12`.
        on line 43 of node_modules/susy/sass/susy/_utilities.scss
>>   @error '[#{$source}] #{$message}';
   --^

I installed susy with npm and build with gulp. Is this intended behaviour?

@mirisuzanne
Copy link
Member

The default setting is a 4-column grid (for a mobile-first approach). Currently Susy doesn't allow you to span more than the available columns, but we plan to change that. You can change the global columns to whatever grid size you need:

$susy: (columns: repeat(12)); // or however many columns you want total

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

No branches or pull requests

2 participants