Closed embolden closed 6 years ago
The problem is that fractional columns throw off the gutter math, so you have to account for that. Each span of 3.5 includes 3 gutters. That's all six available gutters accounted for, so when you try to add a gutter between the spans, there isn't space for it. To make space between the spans, you need to remove half a gutter from each:
width: span(3.5 of 7) - (gutter(7) / 2); // explicitly subtract a half-gutter
width: span(3.375 of 7); // a gutter is .25 columns, so subtract .125 from the span
Awesome, thanks for your super quick and thorough response! Appreciate it! :)
Hello and thank you for all your hard work on Susy. Today is day 1 of working with it and I'm still wrapping my head around everything so I'm sorry if this is an obvious thing that I just missed.
I'm providing my config and two snippets of code with applicable screenshots of the resulting output and then my issue is below everything.
My current config:
What is happening: When using
span(7)
andspan(3.5 of 7)
withgutter(7)
every second div is breaking to a new line.What I was expecting to happen: The behavior would be more similar to
span(8)
andspan(4 of 8)
withgutter(8)
.Is this something that is possible? And if so, can you point me in the right direction? Thanks again!