Closed jbates closed 10 years ago
I've tried some things that aren't working, mostly documented here. But it should work, so... researching. https://github.com/chriseppstein/compass/issues/934
Hi, just did a quick search and found out spacing doesn't work with layout: smart;
. If you remove that option it should work like explained in the issue you are referring to.
Thank you, Gaya. I was just coming back here to update. The use of the spacing variable has changed recently and there's some threads out there complaining about how the Compass docs are unclear as to whether the $spacing variable needs prefixing or not, and whether or not spacing is fixed (or should be fixed) for use with $layout: smart.
I tried a bunch of things and this works--no prefixing on the $spacing variable, and smart layout with spacing still doesn't work:
$icons: sprite-map("icons/*.png", $spacing: 20px);
$icons-2x: sprite-map("icons-2x/*.png", $spacing: 20px);
Your mixin continues to rock. Thanks again.
Awesome. Thanks for the clarification. Closing this thread now.
I need some spacing in my sprite map for when users zoom in a browser. Is there any way to pass a $
Thanks!