sass/susy/language/susy/_rows.scss in susy-2.1.3 vs sass/susy/language/susy/_rows.scss in susy-2.2.0.beta.2
- old
+ new
@@ -38,11 +38,11 @@
$inspect : $context;
$context : parse-grid($context);
$flow : susy-get(flow, $context);
@include susy-inspect(first, $inspect);
- @if not is-split($context) {
+ @if not(is-split($context)) {
@include float-first($flow);
}
}
@mixin alpha(
@@ -63,10 +63,11 @@
@include susy-inspect(last, $inspect);
$output: (
flow: susy-get(flow, $context),
+ last-flow: susy-get(last-flow, $context),
margin: if(is-split($context), null, 0),
);
@include float-last($output...);
}
@@ -85,11 +86,11 @@
$span
) {
$span : parse-span($span);
$edge : susy-get(edge, $span);
- @if not $edge {
+ @if not($edge) {
$count: susy-count(susy-get(columns, $span));
$location: susy-get(location, $span);
$n: susy-get(span, $span);
$number: if(type-of($location) == number, true, false);
@@ -123,10 +124,10 @@
$span : parse-span($span);
$location : susy-get(location, $span);
$edge : get-edge($span);
$n : susy-get(span, $span);
- @if $edge and not $location and type-of($n) == number and unitless($n) {
+ @if $edge and not($location) and type-of($n) == number and unitless($n) {
@if $edge == first {
$location: 1;
} @else if $edge == last {
$location: susy-count(susy-get(columns, $span)) - $n + 1;
}