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

grid offsets not working for some reason #194

Open
Alleno opened this issue Dec 4, 2017 · 2 comments
Open

grid offsets not working for some reason #194

Alleno opened this issue Dec 4, 2017 · 2 comments

Comments

@Alleno
Copy link

Alleno commented Dec 4, 2017

For some reason, the grid offsets aren't working for me using _skel.scss on lines 286-298. I tried to replace the lines

.\-11u#{$x} { margin-left: 91.6666666667% }
.\-10u#{$x} { margin-left: 83.3333333333% }
.\-9u#{$x} { margin-left: 75% }
.\-8u#{$x} { margin-left: 66.6666666667% }
.\-7u#{$x} { margin-left: 58.3333333333% }
.\-6u#{$x} { margin-left: 50% }
.\-5u#{$x} { margin-left: 41.6666666667% }
.\-4u#{$x} { margin-left: 33.3333333333% }
.\-3u#{$x} { margin-left: 25% }
.\-2u#{$x} { margin-left: 16.6666666667% }
.\-1u#{$x} { margin-left: 8.3333333333% }

with something more regular like

.offsetu#{$x} { margin-left: 91.6666666667% }

which did work. Has there been a change to sass preprocessing that makes this not work? If so, what would be the right work around?

@brianjenkins94
Copy link

brianjenkins94 commented Dec 4, 2017

What does your html look like?

It should look something like:

<div class="-2u 8u"></div>

@Alleno
Copy link
Author

Alleno commented Dec 4, 2017

It looks just like that, I tried changing the order of the classes too. In the end, I solved it by replacing the - with the unicode character (with a space after, \2D

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