stylesheets/singularitygs/api/_isolation.scss in singularitygs-1.1.1 vs stylesheets/singularitygs/api/_isolation.scss in singularitygs-1.1.2
- old
+ new
@@ -8,27 +8,24 @@
$gutter-style: find-gutter-style();
$fixed-gutter: fixed-gutter($columns, $gutter);
$gutter-property: gutter-property($columns, $gutter);
$split: index($gutter-style, split);
- $margin-span: column-span(($location - 1), 1, $columns);
+ $margin-span: column-span(($location - 1), 1, $columns, $gutter, $gutter-style);
@if not $fixed-gutter {
$margin-span: $margin-span + $gutter-span;
}
- // @debug $options;
-
-
@if $direction == 'ltr' or $direction == 'both' {
// Set the CSS direction to ltr
$cssdir: 'ltr';
// Find the CSS named direction and opposite direction
$dir: named-direction($cssdir);
$opp: opposite-direction($dir);
- width: column-span($span, $location, $columns);
+ width: column-span($span, $location, $columns, $gutter, $gutter-style);
// If we are at the last item in the row, we float it the opposite direction
@if ($end-row) {
float: $opp;
margin-#{$dir}: 0;
\ No newline at end of file