sass/susy/_margin.scss in susy-1.0.7 vs sass/susy/_margin.scss in susy-1.0.8
- old
+ new
@@ -11,25 +11,25 @@
// $style : The container style to use.
@mixin pre(
$columns,
$context : $total-columns,
$from : $from-direction,
- $style : $container-style
+ $style : fix-static-misalignment()
) {
$from : unquote($from);
margin-#{$from}: space($columns, $context, $style);
}
// 'push' is a synonymn for 'pre'
@mixin push(
$columns,
$context : $total-columns,
$from : $from-direction,
- $style : $container-style
+ $style : fix-static-misalignment()
) {
$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.
//
// $columns : The number of columns to span.
@@ -40,11 +40,11 @@
// $style : The container style to use.
@mixin pull(
$columns,
$context : $total-columns,
$from : $from-direction,
- $style : $container-style
+ $style : fix-static-misalignment()
) {
$from : unquote($from);
margin-#{$from}: 0 - space($columns, $context, $style);
}
@@ -58,11 +58,11 @@
// $style : The container style to use.
@mixin post(
$columns,
$context : $total-columns,
$from : $from-direction,
- $style : $container-style
+ $style : fix-static-misalignment()
) {
$from : unquote($from);
$to : opposite-position($from);
margin-#{$to}: space($columns, $context, $style);
}
@@ -79,10 +79,10 @@
@mixin squish(
$pre : false,
$post : false,
$context : $total-columns,
$from : $from-direction,
- $style : $container-style
+ $style : fix-static-misalignment()
) {
$from : unquote($from);
@if $pre {
@include pre($pre, $context, $from, $style)
}