sass/ezy/grid/_helpers.scss in ezy-0.2.6.alpha vs sass/ezy/grid/_helpers.scss in ezy-0.2.7.alpha
- old
+ new
@@ -26,11 +26,11 @@
// $grid-padding : Grid padding to add on both sides of layout width.
// : Defaults to globally set $grid-padding
// @return : Width in the same unit as $column-width, $gutter-width and $grid-padding
@function grid-width(
- $columns,
- $grid-padding: $grid-padding
+ $columns : $total-columns,
+ $grid-padding : $grid-padding
) {
@if type-of( $grid-padding ) == "list" {
// If grid padding is set as 2 values (in case left
// and right are not the same), add the two
$grid-padding: nth( $grid-padding, 1 ) + nth( $grid-padding, 2 );