oddbird / susy

Pre-grid responsive layout toolkit for Sass, now deprecated
http://oddbird.net/susy/
BSD 3-Clause "New" or "Revised" License
3.87k stars 351 forks source link

Compass 0.13 master branch error with $container-style: fluid #138

Closed cmwelsh closed 11 years ago

cmwelsh commented 11 years ago

Hi there. I am using the compass master branch and susy master branch because they have better support for rems. However, they added an error message to the typography file _units.scss, in the mixin +convert-length that triggers when $container-style is fluid.

error sass/style.scss (Line 155 of _units.scss: "auto" is not a number for `unit')

The error is triggered when I call @include container; - changing $container-style to "magic" fixes the error.

I am writing this issue to help with Google searches and notify you that this may crop up when the new compass gem is released. Thanks for your time - feel free to ask for any clarification or close this issue if it is not useful.

Here is the relevant section of the _base.scss that I am using:

// Basic grid

$total-columns: 12;
$column-width: 4em;
$gutter-width: 1em;
$grid-padding: $gutter-width;
$container-style: fluid;

$show-grid-backgrounds: true;

// Typography

$base-font-size: 16px;
$base-line-height: 24px;
$font-unit: 1rem;
$rhythm-unit: rem;
mirisuzanne commented 11 years ago

Thanks! I'll look into it.

mirisuzanne commented 11 years ago

Closed by 34960a03 - Pushed in v1.0.5