twigkit/semantic.gs — pull request #31 by daffydowden (2011-12-02 15:02:46+00:00)
Title: SCSS $_gridsystem-width fix

Hi,

I think I've found an issue with the $_gridsystem-width variable in the SCSS version. It's being treated like a function, but scss doesn't treat it like one. The problem arrises when you nest a row inside a column: The code will attempt to determine the row width using the $_gridsystem-width utility variable, but since scss has already computed this value, it will instead set the row to the same width of the page, $total-width. To solve this I've converted the $_gridsystem-width into a SCSS function, so that whenever _gridsystem-width is called, the correct value will be returned based on the columns specified.

Thank-you for converting this from less, it's much appreciated, and has been of great help!
Rich