Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix forced-fluid bug in space() function

  • Loading branch information...
commit 696467d049c1760f3611ba4ccaa6c4418acf7e2e 1 parent 720d05e
@ericam authored
View
2  sass/susy/_functions.scss
@@ -157,7 +157,7 @@ $rem-with-px-fallback : true !default;
$context : $total-columns,
$style : fix-static-misalignment()
) {
- @return columns($columns, $context, $style) + if($columns >= 1, gutter($context), 0);
+ @return columns($columns, $context, $style) + if($columns >= 1, gutter($context, $style), 0);
}
// Accept a list including column-count and (optional) position.
View
2  sass/susy/_margin.scss
@@ -27,7 +27,7 @@
$style : $container-style
) {
$from : unquote($from);
- @include pre($columns,$context,$from)
+ @include pre($columns, $context, $from, $style);
}
// Apply negative 'columns' margin before an element to pull it along the grid.
View
2  test/css/grid.css
@@ -129,4 +129,6 @@
float: left;
margin-right: 1.69492%;
display: inline;
+ margin-left: 5em;
+ margin-right: 5em;
}
View
1  test/scss/grid.scss
@@ -70,6 +70,7 @@ $container-style: static;
.force-fluid {
$container-width: 960px;
@include span-columns(2);
+ @include squish(1,1);
$container-width: false;
}
Please sign in to comment.
Something went wrong with that request. Please try again.